Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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 initrd.img-4.19.0-11-amd64 vmlinuz-4.19.0-12-amd64 Syst 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 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment