Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
FreeBSD to ArchLinux /boot/grub/grub.cfg
menuentry "ArchLinux Install Media" --class iso {
set imgdevpath="/dev/vda2"
set isofile="/archlinux-2015.01.01-dual.iso"
set label="ARCH_201501"
loopback loop $isofile
linux (loop)/arch/boot/x86_64/vmlinuz archisolabel=$label img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
initrd (loop)/arch/boot/x86_64/archiso.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment