WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: iso >> core >> gz >> bootlocal << edit ! ? :( HOW TO !???  (Read 2910 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1265
iso >> core >> gz >> bootlocal << edit ! ? :( HOW TO !???
« on: January 31, 2020, 06:44:28 AM »
iso >> core >> gz >> bootlocal << edit ! ? :( HOW TO !???

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: iso >> core >> gz >> bootlocal << edit ! ? :( HOW TO !???
« Reply #1 on: January 31, 2020, 11:21:55 AM »
Hi xor
This Wiki shows how to unpack/repack the  ISO  and  core.gz  file:
http://wiki.tinycorelinux.net/wiki:remastering

Offline xor

  • Hero Member
  • *****
  • Posts: 1265
Re: iso >> core >> gz >> bootlocal << edit ! ? :( HOW TO !???
« Reply #2 on: February 01, 2020, 12:46:59 AM »
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:

Code: [Select]
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:
Code: [Select]
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

« Last Edit: February 01, 2020, 12:48:30 AM by xor »