Since some people had expressed interest in having multiple Linux Live distros I thought I'd post what you need to change in order to do it. Right now I have SLAX, CloneGenius2008, CloneZilla, Ubunutu, Kubuntu, OpenSuSE, Fedora, MandrivaOne, PCLinuxOS, Knoppix, D amn Small Linux, PartedMagic, and ZenWalk all booting from there own folders inside a folder called LINUX thats on the root of my disc. If there's interest I can post some of the modifed initrds to RapidShare or something.
Mostly what needs to be changed is stuff inside the initrd, which you can do inside of Linux. Here's the list:
Quote
Knoppix - needed to modify linuxrc file inside initrd and change KNOPPIX and
KNOPPIX_DIR variables (or use cheatcodes)
Zenwalk - needed to change name of livecd.sgn and edit
liblinuxlive to change LIVECDSGN and LIVECDNAME variables
Also, from=/LINUX needs to be added on isolinux append line.
Root password is ZenLive.
Fedora - Username is root, no password. initrd0.img is gzipped cpio.
To unpack: $> mkdir /home/user/tmp
$> mv initrd0.img initrd0.gz
$> gunzip initrd0.gz
$> cd tmp
$> cpio -id < ../initrd0
$> mv ../initrd0 ../initrd0_old
needed to change the sections in 'init' where it
referenced the LiveOS directory.
ie.. OSMINSQFS, EXT3FS, SQUASHED. You also need the
change the lines right above so the files can be
found
To pack:
$> cd /home/user/tmp
$> find . | cpio --create --format='newc' > ../initrd0.img
$> cd ..
$> mv initrd0.img initrd0
$> gzip initrd0
$> mv initrd0.gz initrd0.img
Ubuntu - need to change casper in initrd/scripts
change all $Path/casper to $Path/LINUX/UBUNTU/casper
change $mountpoint/.disk/casper-uuid to
$mountpoint/LINUX/UBUNTU/.disk/casper-uuid
change all $Directory/casper to $Directory/LINUX/UBUNTU/casper
See above (Fedora) for cpio extraction and compilation.
OpenSuSE - needed to change config.isoclient to point new location for
openSUSE-10.3.i386*. Also need to change init and linuxrc so
that LIVECD_CONFIG points to config.isoclient in the right place.
See above (Fedora) for cpio extraction and compilation.
Mandriva - needed to modify linuxrc and change LABEL to AdminToolkit
also change /live/media/distrib.sqfs to correct path.
Gentoo - needed to change copy path in init under "Mounting Squashfs filsystem"
isolinux append line needs SUBDIR=LINUX/GENTOO added
CloneZilla - add /live_media/LINUX/CLONEZILLA to live_media_path_checklist in
pkg\opt_drbl\opt\drbl\conf\drbl-ocs.conf
add /live_media/LINUX/CLONEZILLA to possible_path variable in s03prep-drbl-clonezilla
add /live_media/LINUX/CLONEZILLA to possible_path variable in S99start-ocs-live in /etc/rcS.d
put changed S99start-ocs-live in the root of initrd
need to change casper in initrd/scripts
change all $Path/casper to $Path/LINUX/CLONEZILLA/casper
change all $Directory/casper to $Directory/LINUX/CLONEZILLA/casper
at the bottom (line right before the brace) create a new line and add
cp S99start-ocs-live "${rootmnt}/etc/rcS.d/"
See above (Fedora) for cpio extraction and compilation.
Cheers
This post has been edited by Jotnar: 31 January 2008 - 03:30 PM