Skip to content

Instantly share code, notes, and snippets.

@kbruner
Created November 3, 2020 21:19
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/705729f4a9584f050ac2340cbfa9f95d to your computer and use it in GitHub Desktop.
Save kbruner/705729f4a9584f050ac2340cbfa9f95d to your computer and use it in GitHub Desktop.
Successful run of grub-bhyve for Debian on ZFS
GNU GRUB version 2.05
Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions.
grub> ls
(hd0,1) (proc)
grub> ls (hd0,1)/boot
config-4.19.0-11-amd64 vmlinuz-4.19.0-11-amd64 config-4.19.0-12-amd64 grub/ Sys
tem.map-4.19.0-11-amd64 initrd.img-4.19.0-11-amd64 vmlinuz-4.19.0-12-amd64 Syst
em.map-4.19.0-12-amd64 initrd.img-4.19.0-12-amd64
grub> linux (hd0,1)/boot/vmlinuz-4.19.0-12-amd64 root=/dev/vda1
grub> [ vmlinuz-4.19.0-12-am 5.03MiB 100% 132.48MiB/s ]
grub> initrd (hd0,1)/boot/initrd.img-4.19.0-12-amd64
grub> [ initrd.img-4.19.0-12 24.65MiB 100% 138.44MiB/s ]
grub> boot
root@nucklehead:/vm # bhyve -H -A -P \
-s 0,hostbridge \
-s 1,lpc \
-s 2,virtio-net,tap0 \
-s 3,virtio-blk,/dev/zvol/zroot/debianguest1 \
-l com1,stdio \
-c 1 -m 1024M \
debian1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment