Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remaster Tiny Core Linux Core for x64
# Ubuntu 12.04
# sudo apt-get -y install p7zip-full genisoimage
# extract files
7z x Core-current.iso -ocore-current
rm -rf core-current/[BOOT]
chmod 744 core-current/boot/isolinux/isolinux.bin
# replace 32-bit files
rm core-current/boot/core.gz
rm core-current/boot/vmlinuz
mv core64.gz core-current/boot/core64.gz
mv vmlinuz64 core-current/boot/vmlinuz64
# modify the boot script
sed 's/core.gz/core64.gz/g;s/vmlinuz/vmlinuz64/g' core-current/boot/isolinux/isolinux.cfg > core-current/boot/isolinux/isolinux64.cfg
rm core-current/boot/isolinux/isolinux.cfg
mv core-current/boot/isolinux/isolinux64.cfg core-current/boot/isolinux/isolinux.cfg
# build iso
mkisofs -l -J -R -r -V TC-Core64 -no-emul-boot -boot-load-size 4 \
-boot-info-table -b boot/isolinux/isolinux.bin \
-c boot/isolinux/ -o core64-current.iso core-current
# cleanup
rm -rf core-current

This comment has been minimized.

Copy link

@Alex-ZL Alex-ZL commented Mar 20, 2013

thx, helpful script!
Now "micorcore-current" need to be replaced with "Core-current", for the it's name has been changed.


This comment has been minimized.

Copy link
Owner Author

@Jared314 Jared314 commented Apr 25, 2013

Updated the script to work with the new name.


This comment has been minimized.

Copy link

@Frankiepaul Frankiepaul commented Jun 29, 2016


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment