Skip to content

Instantly share code, notes, and snippets.

@kbruner
Created November 3, 2020 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbruner/a3c9700459bbfe73f868f1adfb343d24 to your computer and use it in GitHub Desktop.
Save kbruner/a3c9700459bbfe73f868f1adfb343d24 to your computer and use it in GitHub Desktop.
prep for linux guest
root@nucklehead:/vm # truncate -s 4G linux.img
root@nucklehead:/vm # cat > device.map <<EOF
(hd0) ./linux.img
(cd0) ./images/archlinux-2020.10.01-x86_64.iso
EOF
root@nucklehead:/vm # grub-bhyve -m device.map -M 1024M -r cd0 arch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment