Re: bhyve no longer doing netboot/ipxe
Daniel Braniss <[email protected]> Sat, 4 Jul 2026 17:06:47 +0300
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
> On 4 Jul 2026, at 0:13, Bjoern A. Zeeb <[email protected]> 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