netboot.xyz icon indicating copy to clipboard operation
netboot.xyz copied to clipboard

Add FreeBSD support for UEFI boot machines

Open sbraz opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. Hi, at the moment, the BSD menu is not available on UEFI boot machines. This was apparently mentioned in #479.

Describe the solution you'd like It would be nice if https://github.com/netbootxyz/netboot.xyz/blob/master/roles/netbootxyz/templates/menu/freebsd.ipxe.j2 supported UEFI boot machines.

Describe alternatives you've considered I tried booting an mfsbsd image with iPXE ↓

Additional context The following script seems to boot on an UEFI machine although I'm not sure it's actually working:

Image

#!ipxe

sanboot https://mfsbsd.vx.sk/files/images/14/amd64/mfsbsd-14.2-RELEASE-amd64.img

See also https://github.com/mmatuska/mfsbsd/issues/110 and https://reviews.freebsd.org/D45404.

sbraz avatar Apr 15 '25 15:04 sbraz

This does seem to work and I can get to the root prompt to log in via mfsroot. But it appears that my networking in Proxmox doesn't appear to pick up for me to actually run a full instal.

antonym avatar Apr 17 '25 05:04 antonym

This does seem to work and I can get to the root prompt to log in via mfsroot. But it appears that my networking in Proxmox doesn't appear to pick up for me to actually run a full instal.

The suggestion to load mfsbsd via sanboot is working for me on a UEFI-booted system (real computer, not a VM). I don't have Proxmox handy but it sounds like FreeBSD may not be compatible with the NIC that Proxmox is providing, can you try intel e1000?

mx240 avatar Nov 23 '25 19:11 mx240