[Bug 279829] Unable to automatically boot after upgrading to 14.1-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Aug 2024 19:50:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279829

dhulme@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhulme@gmail.com

--- Comment #14 from dhulme@gmail.com ---
I needed to upgrade my bootloader.  But reading the release notes
(https://www.jan0sch.de/post/freebsd-upgrade-uefi-bootloader/) did not give me
confidence I really understood the process.

"
The ESP may already be mounted on /boot/efi. Otherwise, the partition may be
mounted manually, using the partition listed in the efibootmgr output (nda0p1
in this case): mount_msdosfs /dev/nda0p1 /boot/efi. See loader.efi(8) for
another example.

The value in the File field in the efibootmgr -v output,
\EFI\freebsd\loader.efi in this case, is the MS-DOS name for the boot loader in
use on the ESP. If the mount point is /boot/efi, this file will translate to
/boot/efi/efi/freebsd/loader.efi. (Case does not matter on MS-DOSFS file
sytems; FreeBSD uses lower case.) Another common value for File would be
\EFI\boot\bootXXX.efi, where XXX is x64 for amd64, aa64 for aarch64, or riscv64
for riscv64; this is the default bootstrap if none is configured. Both the
configured and default boot loaders should be updated by copying from
/boot/loader.efi to the correct path in /boot/efi.
"

Although this paragraph seems to contain all the important information, actual
commands compared to actual efibootmgr output are a lot more concise and
understandable than saying, "to the correct path," which terrifies me to get
wrong.  Luckily I found the below written in a language I can both understand
and validate the sense of:

https://www.jan0sch.de/post/freebsd-upgrade-uefi-bootloader/

For argument's sake, why is there no automatic or semi-automatic process to
help users upgrade the boot loader, even if it simply is a prompting of "I
think you need to type "mount," and them "cp"?

Yes, users need to upgrade, but freebsd-update doesn't warn them about that,
and  neither do the instructions here:
https://www.freebsd.org/releases/14.0R/installation/.  And yes, I failed to
read the release notes the first time...

-- 
You are receiving this mail because:
You are the assignee for the bug.