bhyve Can't boot FreeBSD 15.0-RELEASE guest

I'm trying to run a VM with FreeBSD 15.0-RELEASE as guest and FreeBSD 15.1-STABLE as host. I'm using sysutils/vm-bhyve.

Here's my config for the FreeBSD guest VM:

Code:
loader="bhyveload"
cpu=2
memory=4G
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"
uuid="31c6b3d1-61b3-11f1-ac1e-9c2dcd4af482"
network0_mac="58:9c:fc:0a:ee:6b"

I installed the guest OS:
Code:
vm install -f freebsd150 FreeBSD-15.0-RELEASE-amd64-memstick.img

and it worked just fine.

During the installation, I chose ZFS configuration with GPT (BIOS). All other ZFS options were default.

But after finishing the installation, I can't boot into the guest:
Code:
# vm start -f freebsd150

Starting freebsd150
  * found guest in /usr/local/vm/freebsd150
  * booting...
Consoles: userboot  

FreeBSD/amd64 User boot lua, Revision 3.0
(Fri May 29 13:05:48 MSK 2026 tem@rio)
ERROR: cannot open /boot/lua/loader.lua: no such file or directory.

Before quitting the installer, I opened the shell in the newly installed system and verified that /boot/lua/loader exists:

Code:
# ls -l /boot/lua/loader.lua 
-r--r--r--  1 root wheel 2364 Nov 28  2025 /boot/lua/loader.lua

What may be the problem?
 
Back
Top