mfsbsd i386 problems FreeBSD14.0

There appears to be some problems with building mfsbsd i386 with FreeBSD 14.0.
The FreeBSD 14.0 i386 does not support efi booting which is expected.


I am adding the NO_EFIBOOT=1 to the command line.


The Makefile is attempting to copy two files that are not part of the i386 distribution:


loader_4th.efi
loader_lua.efi


line 329 of Makefile:
${_v}${CP} ${_DESTDIR}/boot/loader_4th.efi ${_DESTDIR}/boot/loader_lua.efi ${WRKDIR}/cdboot/


If this line is commented out, the Makefile will create the iso or the image without problem.


Both iso and image boot OK.
Both iso and image spontaneously reboot right after expanding the mfsroot.gz
 
There are actually i368 platforms that require EFI boot?
Usually almost anything that boots via UEFI is amd64 and those few (usually industrial) platforms that are still i386 will boot (only?) via legacy/MBR boot.
 
If you can't build it using just the checkout of FreeBSD src, then it's derivative and the suggestion of reporting the problem to proper up(down?)stream is correct.
mfsBSD uses /usr/src on any default FreeBSD system to build a minimal image that is loaded into memory. It doesn't alter anything, so its kind of a "grey area"...

But yes, if this is about pre-packed images from the mfsBSD site/repository, then the better/correct way to report this would be the mfsBSD github Issues page.


BTW: I just used the pre-packaged mfsBSD 13.2 image to install a VPS (because their "minimal" image was UFS instead of ZFS and littered with python/cloudinit-crap...) without any issues. But that VPS uses BIOS boot for whatever absurd reason... (still: i386 should also boot fine via BIOS boot)
 
There are actually i368 platforms that require EFI boot?
Usually almost anything that boots via UEFI is amd64 and those few (usually industrial) platforms that are still i386 will boot (only?) via legacy/MBR boot.
Other combinations are possible too. I have an older machine with a 64 bit CPU but has a 32 bit UEFI. Quite annoyingly I can't UEFI boot it (CSM boot works fine).
 
Back
Top