mfsbsd
mfsbsd copied to clipboard
UEFI-compatible img build
I'm helping a friend doing recovery on his hard-disk on his brand new UEFI-only system, and he reports that mfsBSD image doesn't boot, while FreeBSD’s UEFI-memstick does work nicely.
I will try and see if I can manage to build it, but it would be nice to have it on the official website too.
have similar problem with lenovo x220. It just does not boot legacy gpt
I have tried this, but UEFI Bootloader gave me strange errors
@mmatuska What's the overall status of mfsbsd booting in UEFI mode from, say, a USB stick?
For me, a stock FreeBSD 12 boots fine in UEFI mode from USB, but when I build mfsbsd 12, the USB stick itself isn't seen as a UEFI-bootable device.
@mmatuska we have the same issue with UEFI boot, have not seen update for this issue, you must be quite busy on something. Wonder if you can shed some light how to make the UEFI boot working, we can figure out by ourselves. Big thanks!
I am trying to setup UEFI netboot with mfsbsd. I copied FreeBSD's loader.efi and it can load the kernel successfully. However, /dev/md0 is failed to mount.
I caught the following error maybe helpful:

EFI_STAGING_SIZE is too small https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209944
Anyone had luck with this? I did couple of changes to the Makefile to generate an UEFI ISO but I'm facing the same issue as @cuihaoleo.
I have tried using the latest loader.efi available in FreeBSD-11.3-STABLE-amd64-20190822-r351362-bootonly.iso and is the same. This loader.efi have the following commit which should allow up to 100Mb memory allocation so I think the problem is elsewhere.
Any feedback is highly appreciated so I can send an MR to add UEFI.
PS: For some reason I have to run all those commands manually otherwise it does not boot.
Thanks!
Hello,
I just submited a PR #100, would love to get some feedback from you (I only tested with FreeBSD 11.3).
Thanks!