Created
September 29, 2015 07:50
-
-
Save floriandejonckheere/7e7b772cff3387dc8013 to your computer and use it in GitHub Desktop.
GRUB entry for booting Arch Linux ISO
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
# This entry boots an Antergos (Arch) Linux ISO straight from disk. | |
# LVM is not supported because the lvm module is not loaded in Antergos initrd | |
menuentry "Antergos Minimal ISO 2015-09-13" { | |
insmod part_gpt | |
insmod lvm | |
insmod loopback | |
set root=(hd0,0) | |
set isofile=/antergos.iso | |
search --no-floppy --file ${isofile} --set | |
loopback loop ${isofile} | |
linux (loop)/arch/boot/vmlinuz img_loop=${isofile} img_dev=/dev/sda1 earlymodules=loop,lvm2 archisobasedir=arch archisolabel=ANTERGOS | |
initrd (loop)/arch/boot/archiso.img | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment