Each thing that's booted needs to reside in its own subdirectory:
\boot\MSDOS7.1\ \boot\Knoppix\ \boot\PuppyLinux\ \boot\Hiren\ \boot\VistaPE\However, sometimes it takes work to relocate each OS into a specific subdirectory — most are used to having the root directory all to themselves. An alternate method to this document's approach is to instead allocate one partition per OS.
Several commands work only on one GRUB variant. (see documentation for more)
Key |
---|
GRUB Legacy |
GRUB4DOS |
Super Grub Disk |
See live-initramfs(7) for boot parameters. Notably:
For default parameters, see the syslinux/syslinux.cfg file inside the Clonzilla Live distro.
Note: Clonezilla can't save images to the same partition that it booted from, so you may have to create a separate partition for Clonezilla to boot from.
NOTE:: The above may be fixable with the command `sudo mount -o remount,rw /cdrom` (I haven't tested it yet, but it works on Knoppix)
title Knoppix kernel /boot/Knoppix/boot/isolinux/linux knoppix_dir=/boot/Knoppix/knoppix/ ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off vga=791 initrd=minirt.gz nomce elevator=anticipatory quiet loglevel=0 pci=routeirq initrd /boot/Knoppix/boot/isolinux/minirt.gz
title Knoppix kernel /boot/Knoppix/boot/isolinux/linux knoppix_dir=/boot/Knoppix/knoppix/ ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix initrd /boot/Knoppix/boot/isolinux/minirt.gzSee boot parameters here. Notably:
To be able to write back to the USB drive, run `mount -o remount,rw /cdrom` after booting. Put this command in knoppix.sh in order to have this automatically work every bootup.
title Puppy Linux kernel /boot/Puppy/vmlinuz acpi=off psubdir=boot/puppy initrd /boot/Puppy/initrd.gzBoot parameters are here, notably:
title tomsrtbt map --mem /tomsrtbt-2.0.103.ElTorito.288.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0)
You can download the tomsrtbt-2.0.103.ElTorito.288.img.bz2 from various places, but you need to unzip it.
Unfortunately, the boot process goes through MEMDISK ⇒ LILO, so you can't set any boot parameters from the outside.
Unfortunately, MS-DOS must have the following several files in the root directory: io.sys, msdos.sys, config.sys, and autoexec.bat. Some things can move, however:
title MS-DOS chainloader /boot/msdos7.10/io.sys boot
set CDROM=C:\boot\Hiren\
title Hiren's Boot CD v9.5 map --mem /boot/Hiren/h95_fd0.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) map --floppies=1 boot
(This is a small modification of the official Hiren's-on-USB. We leave the files packaged inside a floppy image, so that we can boot from different config.sys's elsewhere, but leave the config.sys-based menu intact for Hiren's.)
\bootmgr \vistape.cfg \vistape.wim \boot\bcd \boot\bcd.log \boot\boot.sdi \boot\etfsboot.com
title VistaPE chainloader /boot/VistaPE/BOOTLOADER
title Windows Recovery Console chainloader /cmdcons/setupldr.bin ##################################################################### # write string "cmdcons" to memory 0000:7C03 in 2 steps: ##################################################################### # step 1. Write 4 chars "cmdc" at 0000:7C03 write 0x7C03 0x63646D63 # step 2. Write 3 chars "ons" and an ending null at 0000:7C07 write 0x7C07 0x00736E6F
title memtest86+ map --mem /boot/floppies/memtest.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) boot