NetBSD 9.3 on FreeBSD bhyve
===========================
NetBSD 9.3 as guest on the FreeBSD bhyve hypervisor
---------------------------------------------------
Headless FreeBSD box, with existing bridge.
...........................................
I wanted to install NetBSD 9.3 as a virtual machine on a headless
FreeBSD machine. This machine already has a bridge in place.
vm-bhyve
--------
bhyve was already running on this machine, however I got UEFI
problems when I tried to setup a VM on the 'normal' way, with
bhyvectl.
It turned out that using vm-bhyve makes things much easier.
Also, using this method, there is no need for VNC, only a ssh
connection to the FreeBSD host is required. The console runs in your
terminal, so in your tmux session.
Steps to get a running NetBSD VM
--------------------------------
- Install packages
- Create ZFS dataset
- Enable and configure vm-bhyve
- Initiate vm-bhyve
- Add existing bridge to vm-bhyve config
- Create the VM and start the installation