> Am 11.01.2019 um 19:35 schrieb Stefan Bethke <stb at lassitu.de>:
>
>
>
>> Am 11.01.2019 um 15:04 schrieb Kyle Evans <kevans at
freebsd.org>:
>>
>> On Fri, Jan 11, 2019 at 5:05 AM Stefan Bethke <stb at lassitu.de>
wrote:
>>>
>>> The loader stumbles over this error and then drops to the prompt:
>>> efi-autoresizecons not found
>>>
>>> module_path is then not set, and loader can?t load the kernel.
Typing in everything by hand will boot the system OK.
>>>
>>> I just did a regular make installworld installkernel (previous
install was from mid-december). Do I need to update the boot blocks or the EFI
partition?
>>>
>>
>> Hi,
>>
>> Interesting; this is generally an indicator that your loader
>> (/boot/loader.efi in 12.0 EFI-land) is out-of-date with respect to
>> scripts. For that I'd go ahead and double-check that
/boot/loader.efi
>> was actually updated *and* update the contents of the ESP -- that
>> particular change was paired with another one that stopped doing any
>> resizing in boot1.
>
> I thought as much. Is there a succinct step-by-step to install/update
everything involved in the UEFI boot process? The Handbook appears to have very
little on UEFI booting?
The UEFI man page has a good explanation of which files are involved in booting:
https://www.freebsd.org/cgi/man.cgi?query=uefi&sektion=8&manpath=freebsd-release-ports
I mounted the ESP and copied /boot/boot1.efi to /boot/efi/EFI/BOOT/BOOTX64.EFI.
Surprisingly, the new boot1.efi is much smaller than what I had before
(according to the timestamp from November), but using that, booting seems to be
restored.
# grep efi /etc/fstab
/dev/ada0p2 /boot/efi msdos rw,noauto 0 0
# mount /boot/efi
# ls -l /boot/efi/EFI/BOOT/BOOTX64.EFI /boot/efi/EFI/BOOT/bak/BOOTX64.EFI
-rwxr-xr-x 1 root wheel 81920 Jan 11 18:43 /boot/efi/EFI/BOOT/BOOTX64.EFI*
-rwxr-xr-x 1 root wheel 410112 Nov 25 16:27
/boot/efi/EFI/BOOT/bak/BOOTX64.EFI*
Thanks,
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811