Quote:
It's looking about 95% impossible...
|
I was going to leave it for searching till you said that.
I use the grub iso9660_stage1_5 which can be found on the linux RIP livecd or even use the one which is now available on FC3 .
I make a directory and sub directories for each distro...
/home/distros ----> /feather
/home/distros ----> /rescue
/home/distros ----> /insert
/home/distros ----> /puppy
/home/distros ----> /rip
/home/distros ----> /slax
Then I make a working directory to place wanted parts of each distro....
mkdir /home/cdbase
For each distro, I look at the isolinux.cfg to see what my grub entry should look like.
For my hard drive based distro ( FC3 ) I link the current version of kernel to vmlinuz. That way, I don't have to reburn the cd every time the kernel changes. You do need to remake the link on the distro....
ln -s vmlinuz-2.6.10-1.766_FC3 vmlinuz
ln -s initrd-2.6.10-1.766_FC3.img initrd.img
If you have two distros with the same kernel and initrd name , you need to rename one set. For example: vmlinuz2 and initrd2.gz
In most cases, you can't have two versions of knoppix remaster distros as they are set to look for the /KNOPPIX directory. Insert linux is a nice exception to that as it uses /INSERT.
Here is what my current grub menu looks like..
Code:
color light-gray/blue black/light-gray
title *=*=*=*=*=*=*=*=*=*=*=*=* CDROM BOOT MENU *=*=*=*=*=*=*=*=*=*=*=*=*=*=*
root (hd0)
title Windows
rootnoverify (hd0,0)
chainloader +1
title Fedora Core
root (hd1,1)
kernel /boot/vmlinuz ro root=/dev/hdb2 rhgb quiet
initrd /boot/initrd.img
title Rescue CD V0.2.15
kernel /boot/vmlinuz1 acpi=off root=/dev/ram0 init=/linuxrc nokeymap vga=785
initrd=/boot/initrd1
title Insert Linux V1.2.17
kernel /isolinux/vmlinuz ramdisk_size=100000 init=/etc/init lang=en apm=power-off hdc=scsi hdd=scsi vga=791 nomce quiet BOOT_IMAGE=insert
initrd=/isolinux/miniroot.gz
title RIP Linux V11.6
kernel /boot/kernel devfs=nomount vga=normal nokeymap init=/linuxrc root=/dev/ram0 rw
initrd=/boot/initrd.gz
title Feather Linux V0.7.1
kernel /isolinux/linux24 ramdisk_size=100000 nodma init=/etc/init lang=us apm=power-off vga=791 nomce quiet BOOT_IMAGE=knoppix
initrd=/isolinux/minirt24.gz
title Slax Linux V4.2.0
kernel /boot/vmlinuz2 max_loop=255 init=linuxrc livecd_subdir=/ load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=9999 root=/dev/ram0 rw
initrd=/boot/initrd2.gz
title Puppy Linux V9.8
kernel /boot/vmlinuz3 root=/dev/ram0 PFILE=pup001-none-262144
initrd=/boot/image3.gz
title Freedos V9
kernel /boot/memdisk
initrd=/images/freedos.img
title Ranish Tool V2.44
kernel /boot/memdisk
initrd=/images/ranish.img
Once you have the systems loaded into the working directory ( cdbase ) and have the menu.lst setup, you can proceed as follows....
Code:
CD into the cdbase and type:
cdrecord dev=0,0,0 blank=fast
mkisofs -J -R -b boot/grub/iso9660_stage1_5 -c boot/boot.cat \
-o /home/bootcd.iso -no-emul-boot -boot-load-size 32 -boot-info-table .
cdrecord -v speed=4 dev=0,0,0 -data /home/bootcd.iso