Bug 236591

Summary: UEFI configuration resulting from installation of FreeBSD 12.⋯
Product: Base System Reporter: sandwich <hj980959100>
Component: standardsAssignee: freebsd-standards (Nobody) <standards>
Status: Closed FIXED    
Severity: Affects Some People CC: emaste, imp, michael.osipov, yklaxds
Priority: --- Keywords: loader, needs-qa, uefi
Version: 12.1-STABLE   
Hardware: amd64   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249320
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247845
Attachments:
Description Flags
my partition after complete the freebsd installation none

Description sandwich 2019-03-17 08:45:46 UTC
Created attachment 202928 [details]
my partition after complete the freebsd installation

When OS is successfully installed, it would have the relavant directory such Ubuntu and Microsoft in the EFI System Partition. The freebsd cann't normal generate the analogous directory while I configure all space in /, but when I use create item, it will generate the second EFI System Partition and the allocate space to /, in such situation, the freebsd can generate in the second EFI System Partition.
Comment 1 ykla 2019-03-17 12:50:00 UTC
Ubuntu : /efi/ubuntu/bootx64.efi
Gentoo : /efi/Gentoo/bootx64.efi
For FreeBSD: /efi/boot/bootx64.efi
But what is "boot"? I think it's should be "FreeBSD".
Comment 2 Ed Maste freebsd_committer freebsd_triage 2020-09-14 15:48:19 UTC
(In reply to ykla from comment #1)

What version did you install? On a fresh installation of a -CURRENT snapshot my created ESP contains exactly one file:

EFI/freebsd/loader.efi
Comment 3 Michael Osipov 2020-09-14 17:34:16 UTC
(In reply to Ed Maste from comment #2)

I assume 12-STABLE. Same here for 12.
Comment 4 Warner Losh freebsd_committer freebsd_triage 2020-09-14 21:18:33 UTC
We should install /efi/freebsd/loader.efi always. And if there's no /efi/boot/bootXXX.efi, we should install loader.efi as that as a fallback for systems that don't grok efibootmgr configuration.
Comment 5 Graham Perrin 2023-09-18 04:39:32 UTC
> 12.1-STABLE

Reproducible with 13.2-RELEASE, 14.0-BETA2, or 15.0-CURRENT?

(I suspect not.)
Comment 6 Warner Losh freebsd_committer freebsd_triage 2023-09-18 08:20:48 UTC
This has been fixed