Solved vm-bhyve won't start Ubuntu VMs anymore

My Ubuntu VMs (both old and newly created) won't boot anymore!

Host is FreeBSD 14.2-RELEASE.

Here are the steps I undertook to create the VM:
Code:
# vm create -t ubuntu -s 250G vmubuntu-desktop
# vm install vmubuntu-desktop ubuntu-24.04.1-desktop-amd64.iso
Starting vmubuntu-desktop
  * found guest in /vm/vmubuntu-desktop
  * booting...

After that, nothing happens:
Code:
# vm list
NAME              DATASTORE  LOADER       CPU  MEMORY  VNC  AUTO  STATE
…
vmubuntu-desktop  default    uefi         4    4G      -    No    Stopped
…

Running bhyvectl to figure out whats wrong, I get the following:
Code:
# bhyvectl --get-exit-reason --vm vmubuntu-desktop
vm_open: vmubuntu-desktop could not be opened: No such file or directory

Here is my template config which used to work fine on FreeBSD-14.0-RELEASE (I neither now works on 14.1 nor on 14.2):
Code:
# cat .templates/ubuntu.conf 
loader="uefi"
uefi_vars="yes"
cpu=4
graphics="yes"
memory=4G
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"

Interestingly, the Windows guest I also have still runs fine. It uses uefi-custom instead of uefi, though.

I searched the forum, but besides the suggestion of using bhyve directly instead of vm-bhyve, I found nothing specific to my problem.

Any hints?
 
I found the issue:

When I newly installed the system, I forgot to install the bhyve-firmware package!

Installing it via
Code:
# pkg install bhyve-firmware
fixed the problem.

Sorry for the noise!
 
Back
Top