Instantly share code, notes, and snippets.

@zekesulastin /grub.cfg Secret
Created Jun 23, 2012

Embed
What would you like to do?
Grub2 stick-of-isos
# Arch Linux Netinstaller
menuentry "Arch Linux Netinstall x86_64" {
set isofile="/boot/iso/archlinux-2011.08.19-netinstall-dual.iso"
loopback loop $isofile
linux (loop)/arch/boot/x86_64/vmlinuz img_loop=$isofile img_dev=/dev/disk/by-uuid/82F2-CF5B archisolabel=ARCH_201108 earlymodules=loop
initrd (loop)/arch/boot/x86_64/archiso.img
}
menuentry "Arch Linux Netinstall i686" {
set isofile="/boot/iso/archlinux-2011.08.19-netinstall-dual.iso"
loopback loop $isofile
linux (loop)/arch/boot/i686/vmlinuz img_loop=$isofile img_dev=/dev/disk/by-uuid/82F2-CF5B archisolabel=ARCH_201108 earlymodules=loop
initrd (loop)/arch/boot/i686/archiso.img
}
# SystemRescueCD
menuentry "SystemRescueCD x86_64" {
set isofile="/boot/iso/systemrescuecd-x86-2.8.0.iso"
loopback loop $isofile
linux (loop)/isolinux/rescue64 isoloop=$isofile setkmap=us
initrd (loop)/isolinux/initram.igz
}
menuentry "SystemRescueCD i586" {
set isofile="/boot/iso/systemrescuecd-x86-2.8.0.iso"
loopback loop $isofile
linux (loop)/isolinux/rescuecd isoloop=$isofile setkmap=us
initrd (loop)/isolinux/initram.igz
}
# Memtest86+
menuentry "Memtest86+" {
linux16 /boot/iso/memtest86+-4.20.bin
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment