Bug 236591 - UEFI configration files different as Other OS
Summary: UEFI configration files different as Other OS
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 12.1-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2019-03-17 08:45 UTC by sandwich
Modified: 2020-09-14 21:18 UTC (History)
4 users (show)

See Also:

my partition after complete the freebsd installation (27.95 KB, image/png)
2019-03-17 08:45 UTC, sandwich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 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:

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