Skip to content

Instantly share code, notes, and snippets.

@floriandejonckheere
Created September 29, 2015 07:50
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floriandejonckheere/7e7b772cff3387dc8013 to your computer and use it in GitHub Desktop.
Save floriandejonckheere/7e7b772cff3387dc8013 to your computer and use it in GitHub Desktop.
GRUB entry for booting Arch Linux ISO
# 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