Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: newbean on June 26, 2010, 02:01:17 PM
-
I would like to load packages (e.g. firefox, gedit, thunderbird etc.) and create an ISO image of my mounted RamDisk and burn that image to a cd to create a LiveCD.
Is there a script out there to help me do that?
I like Tiny Core alot, but I want to boot up a Tiny Core CD image with my favorite packages already installed.
Is there a way? Is there a script to create an ISO image this way?
Thanks
newbean
-
Read WIKI article http://wiki.tinycorelinux.com/Integrating+Extensions
-
I followed the instructions but I got 2 errors
1) At Section 1.1 line 4 should be:
sudo cp -a /mnt/tmp/boot /tmp/newiso
2) Section 3, when I ran it I got this error message:
mkisofs -l -J -V TC-custom -no-emul-boot -boot-load-size 4 -boot-info- table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o TC-remastered.iso newiso
Warning: creating filesystem with (nonstandard) Joliet extensions
but without (standard) Rock Ridge extensions.
It is highly recommended to add Rock Ridge
mkisofs: No such file or directory. Invalid node -
'newiso'.
I've never run mkisofs before.
What am I doing wrong?
Thanks
newbean
-
newbean: Could it be that you did not execute the 'mkisofs' command in the '/tmp' directory?
-
It's been a while, but I think I hit the problems you found when I forgot the
mkdir -p /tmp/newiso/tce
step.
-
To: Thane
You had that line included in http://wiki.tinycorelinux.com/Integrating+Extensions
under Section 2.
It's something to do with the mkisofs command.
Here is my script. I've run mkisofs with and w/o a preceding sudo.
I followed the "Integrating-Extensions" link when creating this script.
# Install-iso.sh
# From: http://wiki.tinycorelinux.com/Integrating+Extensions
#
# 1. Copy TC files
#
# 1.1. Unpacking from ISO
# Copy iso image to /tmp folder
sudo cp /mnt/hda1/home/john/Downloads/tinycore_3.0alpha8.iso /tmp/tinycore.iso
# 2. Add extensions
tce-load -wi opera.tcz
tce-load -wi nano.tcz
tce-load -wi xfe.tce
# Copy extension folder
sudo cp /tmp/tce/optional /tmp/newiso/
# Make necessary folders
sudo mkdir /mnt/tmp
sudo mkdir -p /tmp/newiso/tce
# Mount and copy boot
sudo mount /tmp/tinycore.iso /mnt/tmp -o loop,ro
sudo cp -a /mnt/tmp/boot /tmp/newiso
sudo umount /mnt/tmp
# Load other necessary extensions not to be
# included in the new ISO image
#
# Load mkisofs-tools
tce-load -wi mkisofs-tools.tcz
# Load brasero cd-burner
tce-load -wi brasero.tcz
# Load isomaster
tce-load -wi isomaster.tcz
# 3. Create the ISO
cd /tmp
sudo mkisofs -l -J -V TC-custom -no-emul-boot -boot-load-size 4
-boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinuxboot.cat -o TC-remastered.iso newiso
sudo rm -rf newiso
It should work, but it does'nt
Run it and see
Thanks
newbean
-
I found the problem.
I eliminated the -J in the mkisofs statement.
That did the trick.
Thanks
newbean