Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2026 17:06:47 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, "michaelo@freebsd.org" <michaelo@FreeBSD.org>
Cc:        virtualization@freebsd.org, freebsd-hackers <hackers@freebsd.org>
Subject:   Re: bhyve no longer doing netboot/ipxe
Message-ID:  <0C49DFF4-A571-4D8E-8DC7-685DC88F2F93@cs.huji.ac.il>
In-Reply-To: <912345r3-4r1p-644-9p95-pqp9896ns711@mnoonqbm.arg>
References:  <BFD34AD4-2553-45E0-81DA-C8548A2A4156@cs.huji.ac.il> <912345r3-4r1p-644-9p95-pqp9896ns711@mnoonqbm.arg>

index | next in thread | previous in thread | raw e-mail



> On 4 Jul 2026, at 0:13, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
> 
> On Wed, 1 Jul 2026, Daniel Braniss wrote:
> 
>> after spending hours with several claude/google/etc which have too much misinformation,
>> is there a right way to do ipxe boot which still works fine when the host is 14.3 but no longer with 15.1
>> thanks,
> 
> See:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294520
> 
> the problem is that the way bhyve firmware is being built.
> 
> -- 
> Bjoern A. Zeeb                                                     r15:7

after many hours of trial and error this is now working:
debug=“yes"
loader="uefi"
uefi_vars="yes"
cpu=2
memory=32G
virt_random="yes"
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="/dev/zvol/h/bhv-02"
disk0_dev="custom"
uuid="86b8741f-7764-11f1-8266-b8ca3aee713a"
network0_mac="58:9c:fc:00:6c:88"
graphics="yes"
graphics_res="1024x768"
grafics_wait="yes"
graphics_listen="0.0.0.0:5901”

and changing the filename in my dhcp i can boot diskless or local root.
the efi partition is empty, so it’s getting the bootrom from /usr/local/share/…

from the logs:
2026-07-04T16:54:49+03:00: restarting
2026-07-04T16:54:49+03:00:  [bhyve options: -c 2 -m 32G -AHPw -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/h/vm/bhv-02/uefi-vars.fd -U 86b8741f-7764-11f1-8266-b8ca3aee713a -u]
2026-07-04T16:54:49+03:00:  [bhyve devices: -s 0,hostbridge -s 31,lpc -s 0:4:0,virtio-blk,/dev/zvol/h/bhv-02 -s 0:5:0,virtio-net,tap0,mac=58:9c:fc:00:6c:88 -s 0:6:0,virtio-rnd -s 0:7:0,fbuf,tcp=0.0.0.0:5901:5900,w=1024,h=768]
2026-07-04T16:54:49+03:00:  [bhyve console: -l com1,/dev/nmdm-bhv-02.1A]
2026-07-04T16:54:49+03:00: starting bhyve (run 2)

im still baffled,

thanks,
	danny



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C49DFF4-A571-4D8E-8DC7-685DC88F2F93>