No UEFI entries

Simple issue.

Installed FreeBSD 15.0, but I don't any UEFI entry during boot selection option.

Setup - ThinkPad E14 - AMD Ryzen 5, RAM 32GB - NVM0 Windows 11 - NVM1 FreeBSD 15.0

I usually boot using the Fn+F14 key to bring up the ThinkPad's boot menu.

Rechecked with FreeBSD 14.3, all good, UEFI right up there.

FreeBSD 15.0 installer does not seem to write out the UEFI entries in BIOS.

Any ideas ?
Thanks in advance.

PS: There is also package site access issue for 15.0 and 14.3, which I have bypassed via direct ports builds.
 
FreeBSD 15.0 installer does not seem to write out the UEFI entries in BIOS.
This happens to me also, with an ASrock ITX motherboard which was previously running FreeBSD-14.3 , installed in UEFI mode.

Put in a new sysdisk, booted 15.0 dvd1.iso media from the UEFI part. Installation seemed to proceed normally but after reboot it's as if the sysdisk has no bootable bits -- the motherboard doesn't recognize it as a UEFI boot option and boot fails.

Booted the 15.0 and 14.3 (JIC) live media to check things and try to rescue with efibootmgr, but didn't make progress:

root@:/ # efibootmgr -a -c -l /boot/efi/efi/freebsd/loader.efi -L FreeBSD15
efibootmgr: efi variables not supported on this system. kldload efirt?
root@:/ # kldload efirt
kldload: can't load efirt: module already loaded or in kernel
root@:/ # efibootmgr -v
efibootmgr: efi variables not supported on this system. kldload efirt?

This is after mounting the / and /boot/efi/ parts of the newly-installed sysdisk and chroot'ing to it; I may be doing something wrong here, I've never had to rescue a UEFI config like this; but it seems like the boot mode is at least correct:

root@:/ # sysctl machdep.bootmethod
machdep.bootmethod: UEFI

Fwiw the 15.0 partitions, pkgs and config I did during install are definitely on the disk, as is the /boot/efi/ partition.

JIC, I tried to replicate the problem by installing with 14.3 dvd1.iso media and booting from the UEFI part; it still works fine and results in a bootable system; this may be what I end up doing for-real if I can't figure out what's happening with 15.0 installer and UEFI.

FYI I found a couple bugzilla's with seemingly similar issues, I may add some of my troubleshooting notes there too:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290981
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291461
 
This is after mounting the / and /boot/efi/ parts of the newly-installed sysdisk and chroot'ing to it; I may be doing something wrong here,
From further experiments, it turns out I should not have chroot in the FreeBSD install/rescue environment. It was sufficient to simply boot the 15.0 USB, drop to Shell, and then run the efibootmgr command args and path to the appropriate sysdisk partitions mounted as before, i.e. /mnt/boot/efi/....

After that, efibootmgr successfully added my 15.0 installation to the list, I was able to see it in the PC's BIOS/UEFI boot selection menu, and FreeBSD 15.0 boots now as expected.

So it seems there is some problem with the 15.0 installer + UEFI setup, but it's rescue'able, at least.
 
Back
Top