Tiny Core Linux
General TC => General TC Talk => Topic started by: john biles on February 06, 2009, 05:20:40 PM
-
Hello Everyone,
Is there a way to remaster your live CD like they can in Puppy Linux?
EG bootup Tiny Core, download the apps you want, remaster a new Live CD with added apps.
-
It's all in the wiki:
http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering (http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering)
All you have to do is put the apps in /tce on the CD image.
-
Thanks, I'll study it.
-
I suggest to insert this script (which I modified starting from the one into slax) into /boot directory
#!/bin/bash -x
# ---------------------------------------------------
# Script to create bootable ISO in Linux
# usage: make_iso.sh [ /tmp/slax.iso ]
# author: Tomas M. <http://www.linux-live.org>
# ---------------------------------------------------
if [ "$1" = "--help" -o "$1" = "-h" ]; then
echo "This script will create bootable ISO from files in curent directory."
echo "Current directory must be writable."
echo "example: $0 /mnt/hda5/bootable.iso"
exit
fi
CDLABEL="tinycore-2.x"
ISONAME=$(readlink -f "$1")
cd $(dirname $0)/..
if [ "$ISONAME" = "" ]; then
SUGGEST=$(readlink -f ../../$(basename $(pwd)).iso)
echo -ne "Target ISO file name [ Hit enter for $SUGGEST ]: "
read ISONAME
if [ "$ISONAME" = "" ]; then ISONAME="$SUGGEST"; fi
fi
mkisofs -o "$ISONAME" -l -J -R -D -A "$CDLABEL" -V "$CDLABEL" \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat .
-
Roberto,
What does your script actually do?
-
The script above is called "make_iso.sh", there is also one called "make_iso.bat", for windows.
they are both found in any slax-based iso image; wolvix, goblinx, slax, etc
they are also found in linux live scripts
( http://www.linux-live.org/ )
either script builds a bootable isolinux iso image
you can edit the name of the iso produced.
you must have mkisofs installed also, usually found in cdrtools, etc
so, say you have an empty folder, put your boot and tce folders in that empty folder
and then put the script in the boot folder.
run the script by double-clicking it and selecting "run"
or thru terminal with
cd /folder/name
chmod +x make_iso.sh
./make_iso.sh
the chmod part makes it executable.
you can also choose "run in terminal" when you double-click it and select iso name
name must end in .iso, like my-tinycore.iso
make sure you have a isolinux.cfg setup in boot/isolinux too
-
Great! Thanks for the detailed noob friendly post!
-
sorry I am even more of a n00b. My understanding is that you have to decompress tinycore.gz (in a linux machine?) and once the files are extracted then....??
what if wanted to..say add extensions to firefox...would they included in the iso?
tinycore rocks...only if I could modify it!!!!
-
For new users, you can
1. Remaster - where you modify the operating system.
http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering (http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering)
2. Make a live CD with programs. Not modify the operating system, just make a CD with the operating system and your selection of programs.
http://wiki.tinycorelinux.com/tiki-index.php?page=Integrating_extensions (http://wiki.tinycorelinux.com/tiki-index.php?page=Integrating_extensions)
/modified-cd.html][removed due to policy violation]/modified-cd.html (http://[removed due to policy violation)
-
thanks for that...............it worked!
still the issue of modifying the app to run it as you want. I am trying to make TinyCoreLinux kiosk using Firefox. I suppose i'll just wait till someone comes up with the script that you can run while you're in a live system and it will copy the whole system settings (apps, boot scripts etc etc) and just spit out a nice little .iso file!
-
I suppose i'll just wait till someone comes up with the script
1. You can experiment yourself.
2. Things you can't get to work. You can be more specific about you want, and others may help.
I suggest, trying to set it up on a hard drive or usb drive the way you want it. When you get it to work that way, you will know what you need on the CD.
There are Firefox alternatives; Seamonkey and Minefield. Are these any help?
Do you want to have Firefox and other programs, or only Firefox?
You can use Microcore, and leave out certain things.
/microcore.html][removed due to policy violation]/microcore.html (http://[removed due to policy violation)
If you try, and ask specific questions, others normally help.
-
I suppose i'll just wait till someone comes up with the script
If you try, and ask specific questions, others normally help.
Well it turns out there is such a script http://forum.tinycorelinux.net/index.php?topic=1461.0 (http://forum.tinycorelinux.net/index.php?topic=1461.0) and I did try it and I have posted the outcome in that forum...not exactly the outcome I was looking for :-\