Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Boot Multiple ISO from USB via Grub2 using Linux, using as starting point. Idea is that this gist would accumulate known configurations for booting various ISOs with correct pa
# This grub.cfg file was created by Lance
# Suggested Entries and the suggestor, if available, will also be noted.
# Adding an Unlisted ISO: To try ISO Files that are not yet listed, use
# the existing menuentry examples in /boot/grub/grub.cfg and append any
# options normally found in the distributions syslinux.cfg file on the
# "append" line to the "linux" line of the menu entry.
set timeout=10
set default=0
menuentry "Gentoo LiveDVD 11.0" {
loopback loop /livedvd-x86-amd64-32ul-11.0.iso
linux (loop)/boot/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz isoboot=/livedvd-x86-amd64-32ul-11.0.iso
initrd (loop)/boot/gentoo.igz
menuentry "Ubuntu 10.10 Desktop ISO" {
loopback loop /ubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
menuentry "Linux Mint 10 Gnome ISO" {
loopback loop /linuxmint10.iso
linux (loop)/casper/vmlinuz file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz iso-scan/filename=/linuxmint10.iso noeject noprompt splash --
initrd (loop)/casper/initrd.lz
menuentry "DBAN ISO" {
loopback loop /dban.iso
linux (loop)/DBAN.BZI nuke="dwipe" iso-scan/filename=/dban.iso silent --
menuentry "Tinycore ISO" {
loopback loop /tinycore.iso
linux (loop)/boot/bzImage --
initrd (loop)/boot/tinycore.gz
menuentry "Memtest 86+" {
linux16 /memtest86+.bin
menuentry "SystemRescueCd" {
loopback loop /systemrescuecd.iso
linux (loop)/isolinux/rescuecd isoloop=/systemrescuecd.iso setkmap=us docache dostartx
initrd (loop)/isolinux/initram.igz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.