UEFI: How to go about updating the ESP with loader.efi during installworld

From: Rebecca Cran <rebecca_at_bluestop.org>
Date: Sun, 04 Nov 2018 14:20:08 -0700
I'm currently working on creating and updating the ESP (EFI System Partition) 
for UEFI booting during installation and installworld. 

During installation, with my changes it gets mounted on /boot/efi and loader.efi 
copied into /boot/efi/EFI/FreeBSD and /boot/efi/EFI/BOOT. An entry gets added to 
/etc/fstab as noauto.

The issue comes during installworld, where we'll need to update the loader, 
and I'm not sure how we should handle that. 
If NO_ROOT isn't defined, do we just "mount /boot/efi", overwrite the files then 
unmount it? What should we do if NO_ROOT _is_ defined?

-- 
Rebecca
Received on Sun Nov 04 2018 - 20:20:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC