Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UEFI-compatible img build #73

Open
lapo-luchini opened this issue Jun 16, 2016 · 8 comments · May be fixed by #100
Open

UEFI-compatible img build #73

lapo-luchini opened this issue Jun 16, 2016 · 8 comments · May be fixed by #100

Comments

@lapo-luchini
Copy link

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.

@s4ms0n
Copy link

s4ms0n commented Mar 27, 2018

have similar problem with lenovo x220. It just does not boot legacy gpt

@NeoChen1024
Copy link

I have tried this, but UEFI Bootloader gave me strange errors

@Intensity
Copy link

@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.

@joe-zhou-ripple
Copy link

joe-zhou-ripple commented Jan 15, 2019

@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!

@cuihaoleo
Copy link

cuihaoleo commented Feb 1, 2019

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:
mfsbsd_error

@stamak
Copy link

stamak commented Apr 26, 2019

EFI_STAGING_SIZE is too small
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209944

@amontalban
Copy link

amontalban commented Aug 27, 2019

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.

Screenshot 2019-08-27 17 19 59

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!

@amontalban amontalban linked a pull request Aug 30, 2019 that will close this issue
@amontalban
Copy link

Hello,

I just submited a PR #100, would love to get some feedback from you (I only tested with FreeBSD 11.3).

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants