Skip to content

Instantly share code, notes, and snippets.

@kbruner
Created November 3, 2020 07:01
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/f8b1ae98915f43b79292f92a7dc0de5a to your computer and use it in GitHub Desktop.
Save kbruner/f8b1ae98915f43b79292f92a7dc0de5a to your computer and use it in GitHub Desktop.
ZFS guest prep
root@nucklehead:/vm # zfs create -V2G -o volmode=dev zroot/debianguest0
root@nucklehead:/vm # cat debian-device.map
(hd0) /dev/zvol/zroot/debianguest0
(cd0) /vm/images/debian-10.6.0-amd64-netinst.iso
root@nucklehead:/vm # grub-bhyve -m debian-device.map -M 1024 -r cd0 debian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment