Tiny Core Linux
General TC => Programming & Scripting - Unofficial => Topic started by: xor on January 31, 2020, 06:44:28 AM
-
iso >> core >> gz >> bootlocal << edit ! ? :( HOW TO !???
-
Hi xor
This Wiki shows how to unpack/repack the ISO and core.gz file:
http://wiki.tinycorelinux.net/wiki:remastering
-
Hi xor
This Wiki shows how to unpack/repack the ISO and core.gz file:
http://wiki.tinycorelinux.net/wiki:remastering
I want to make a Live CD TCL.
I will try when I am available
ok I found a solution
first I execute this script:
cd
wget http://www.tinycorelinux.net/4.x/x86/release/Core-current.iso
sudo mkdir /mnt/tmp
sudo mount Core-current.iso /mnt/tmp -o loop,ro
sudo cp -a /mnt/tmp/boot /tmp
sudo mv /tmp/boot/core.gz /tmp
sudo umount /mnt/tmp
mkdir /tmp/extract
cd /tmp/extract
sudo zcat /tmp/core.gz | sudo cpio -i -H newc -d
then I install all extensions I want to have...
then I open /tmp/extract/opt/bootlocal.sh and write
-> sudo -u tc tce-load -i XXX XXX XXX XXX XXX
# XXX = all extensions
and at least I execute this script:
sudo cp -R /tmp/tce /tmp/extract/tmp/
sudo depmod -a -b /tmp/extract 3.0.21-tinycore
tce-load -wi gzip
cd /tmp/extract
sudo find | sudo cpio -o -H newc | gzip -2 > ../mycore.gz
tce-load -wi mkisofs-tools.tcz
tce-load -wi brasero.tcz
tce-load -wi isomaster.tcz
cd /tmp
sudo mv mycore.gz boot
sudo mv boot/mycore.gz boot/core.gz
mkdir newiso
sudo mv boot newiso
sudo chmod 777 -R newiso
cd /tmp
sudo mkisofs -l -J -R -V TC-custom -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o sfos.iso newiso