Hi, I'm trying to create an Ubuntu 24.04 vm with vm-bhyve but I get "bhyve exited with status 4", any hint?
Config:
Log:
Code:
sudo vm install -f ubuntuvm ubuntu-24.04.2-desktop-amd64.iso
Starting ubuntuvm
* found guest in /zroot/bhyve/ubuntuvm
* booting...
Config:
Code:
loader="uefi"
cpu=4
memory=4096M
network0_type="virtio-net"
network0_switch="public"
graphics="yes"
xhci_mouse="yes"
zfs_zvol_opts="volblocksize=128k"
disk0_name="disk0"
disk0_dev="sparse-zvol"
disk0_type="virtio-blk"
uuid="6ca89125-fdea-11ef-9054-74563c7e2bd0"
network0_mac="58:9c:fc:0b:21:be"
uefi_vars="yes"
bhyve_options="-A"
Log:
Code:
Mar 10 18:12:32: initialising
Mar 10 18:12:32: [loader: uefi]
Mar 10 18:12:32: [cpu: 4]
Mar 10 18:12:32: [memory: 4096M]
Mar 10 18:12:32: [hostbridge: standard]
Mar 10 18:12:32: [com ports: com1]
Mar 10 18:12:32: [uuid: 6ca89125-fdea-11ef-9054-74563c7e2bd0]
Mar 10 18:12:32: [debug mode: no]
Mar 10 18:12:32: [primary disk: disk0]
Mar 10 18:12:32: [primary disk dev: sparse-zvol]
Mar 10 18:12:32: initialising network device tap0
Mar 10 18:12:32: failed to find virtual switch 'public'
Mar 10 18:12:32: dynamically allocated port 5900 for vnc connections
Mar 10 18:12:32: booting
Mar 10 18:12:32: [bhyve options: -c 4 -m 4096M -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/zroot/bhyve/ubuntuvm/uefi-vars.fd -A -U 6ca89125-fdea-11ef-9054-74563c7e2bd0 -u]
Mar 10 18:12:32: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,virtio-blk,/dev/zvol/zroot/bhyve/ubuntuvm/disk0 -s 5:0,virtio-net,tap0,mac=58:9c:fc:0b:21:be -s 6:0,fbuf,tcp=0.0.0.0:5900,wai
t -s 7:0,xhci,tablet]
Mar 10 18:12:32: [bhyve console: -l com1,stdio]
Mar 10 18:12:32: [bhyve iso device: -s 3:0,ahci-cd,/zroot/bhyve/.iso/ubuntu-24.04.2-desktop-amd64.iso,ro]
Mar 10 18:12:32: starting bhyve (run 1)
Mar 10 18:12:32: bhyve exited with status 4
Mar 10 18:12:32: destroying network device tap0
Mar 10 18:12:32: stopped