Forked from probonopd/Antergos Arch OS ISO boot from loop GRUB2
Last active
August 29, 2015 14:22
-
-
Save agumonkey/ba48a7de45f44ae44891 to your computer and use it in GitHub Desktop.
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
menuentry "Antergos" { | |
iso_path="/boot/iso/antergos-2014.08.07-x86_64.iso" | |
search --no-floppy --file ${iso_path} --set | |
live_args="for-arch --> img_loop=${iso_path} img_dev=/dev/sda1 earlymodules=loop" | |
custom_args="" | |
iso_args="archisobasedir=arch archisolabel=ANTERGOS quiet" | |
loopback loop ${iso_path} | |
linux (loop)/arch/boot/vmlinuz ${live_args} ${custom_args} ${iso_args} | |
initrd (loop)/arch/boot/archiso.img /boot/iso/additional-initramfs/initramfs | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment