On 12/10/2012 12:29 PM, Raj Mathur (राज माथुर) wrote:
The subject more or less says it all :)

I want to be able to take a, say, 16GB USB pendrive and put multiple
distribution install ISOs onto it.  Is there a utility that will do
this, create a nice boot menu that allows you to select the distribution
of your choice, and then run the installer of that distribution?

Ideally it would also let you load live images, so you can have ready-
made forensics, recovery, etc. tools available on the same USB.

unetbootin and similar tools are installers, nowhere near what I need.

I use grub2 for booting off of a USB/SD-Card and the following are a few of the relevant entries what I have in /boot/grub/grub.cfg

menuentry "LinuxMint, XFCE, 32bit (from /boot/iso)" --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod fat
    set root=(hd0,msdos1)
    insmod loopback
    set isofile="boot/iso/linuxmint-13-xfce-32bit-dvd.iso"
    loopback loop /$isofile
linux (loop)/casper/vmlinuz iso-scan/filename=/$isofile boot=casper noeject nomodeset \
    noprompt quiet splash tz=Asia/Kolkata vga=788 --
    initrd (loop)/casper/initrd.lz
}
menuentry "Porteus, XFCE, 32bit (from /boot/iso)" --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod fat
    set root=(hd0,msdos1)
    insmod loopback
    set isofile="boot/iso/porteus-1.2-xfce-32bit-cd.iso"
    loopback loop /$isofile
linux (loop)/boot/vmlinuz from_iso=/$isofile noauto noeject nomodeset noprompt quiet \
    splash tz=Asia/Kolkata vga=788 --
    initrd (loop)/boot/initrd.xz
}
menuentry "Ubuntu, UNITY, 32bit (from /boot/iso)" --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod fat
    set root=(hd0,msdos1)
    insmod loopback
    set isofile="boot/iso/ubuntu-12.04-unity-32bit-dvd.iso"
    loopback loop /$isofile
linux (loop)/casper/vmlinuz iso-scan/filename=/$isofile boot=casper noeject nomodeset \
    noprompt quiet splash tz=Asia/Kolkata vga=788 --
    initrd (loop)/casper/initrd.lz
}
menuentry "Zenwalk, XFCE, 32bit (from /boot/iso)" --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod fat
    set root=(hd0,msdos1)
    insmod loopback
    set isofile="boot/iso/zenlive-7.2-xfce-32bit-dvd.iso"
    loopback loop /$isofile
linux (loop)/boot/vmlinuz from=/$isofile rootpw=ZenWalk noauto noeject nomodeset \
    noprompt quiet splash tz=Asia/Kolkata vga=788 --
    initrd (loop)/boot/initrd.gz
}

See also:
http://www.mytechguide.org/7377/how-to-boot-multiple-iso-from-usb-using-multiboot-usb-menu/

--
Balwinder S "bdheeman" Dheeman
(http://werc.homelinux.net/contact/)


_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to