Created
July 4, 2012 08:56
-
-
Save joekickass/3046193 to your computer and use it in GitHub Desktop.
GRUB multi-os usb-stick configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << EOF > /mnt/boot/grub/grub.cfg | |
menuentry "Ubuntu MinimalCD 12.04 64bit" { | |
set gfxpayload=keep | |
loopback loop /boot/iso/ubuntu-12.04-desktop-amd64.iso | |
linux (loop)/linux -- quiet | |
initrd (loop)/initrd.gz | |
} | |
menuentry "Debian netinst 6.0.5 64bit" { | |
loopback loop /boot/iso/debian-6.0.5-amd64-netinst.iso | |
linux (loop)/install.amd/vmlinuz vga=normal -- | |
initrd (loop)/install.amd/initrd.gz | |
} | |
menuentry "Gentoo minimal 20120621 64bit" { | |
set isofile="/boot/iso/install-amd64-minimal-20120621.iso" | |
loopback loop $isofile | |
linux (loop)/isolinux/gentoo root=/dev/ram0 init=/linuxrc nokeymap cdroot cdboot looptype=squashfs loop=/image.squashfs initrd=gentoo.igz vga=791 usbcore.autosuspend=1 console=tty0 rootdelay=10 isoboot=$isofile | |
initrd (loop)/isolinux/gentoo.igz | |
} | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment