bhyve vm-bhyve Windows10 install, initial boot stops at fbuf frame buffer base:

Hi, I'm trying to install a Windows 10 VM using vm-bhyve.

After running the command vm install -f Windows Win10_21H1_English_x64.iso

Starting Windows
* found guest in /zroot/vm/Windows
* booting...
fbuf frame buffer base: 0xc43800000 [sz 16777216]

Then it just sits without progressing any further.

My windows.conf reads as follows.
Code:
loader="uefi"
graphics="yes"
xhci_mouse="yes"
cpu=1
memory=16G

# put up to 8 disks on a single ahci controller.
# without this, adding a disk pushes the following network devices onto higher slot numbers,
# which causes windows to see them as a new interface
ahci_device_limit="8"

# ideally this should be changed to virtio-net and drivers installed in the guest
# e1000 works out-of-the-box
network0_type="e1000"
network0_switch="public"

disk0_type="ahci-hd"
disk0_name="disk0.img"
disk0_type="ahci-hd"
disk0_name="disk0.img"

# windows expects the host to expose localtime by default, not UTC
utctime="no"

I have previously installed arch linux and OpenBSD vms without issue but this is the first time trying to install an OS with graphics="yes" enabled.
 
I was super confused, thought a GUI display would pop up... ?

Uses VNC, had to use TigerVNC to get it working, requires UEFI mode for GUI:

bhyve -c 5 -m 10G -w -H \
-s 0,hostbridge \
-s 3,ahci-cd,/home/user/Downloads/ubuntu-24.04-desktop-amd64.iso \
-s 4,virtio-blk,/dev/zvol/zroot/ubuntu \
-s 5,virtio-net,tap0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \
-s 30,xhci,tablet \
-s 31,lpc -l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
ubuntu

On TigerVNC Connect to:
0.0.0.0:5900

Excellent tutorial on how to get linux (with GUI) up and running :

Screenshot_20240823_235812.png
 
Back
Top