Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Nov 2018 14:20:08 -0700
From:      Rebecca Cran <rebecca@bluestop.org>
To:        "freebsd-current@FreeBSD.org" <freebsd-current@freebsd.org>
Subject:   UEFI: How to go about updating the ESP with loader.efi during installworld
Message-ID:  <5091656.8gLySxXtyI@photon.int.bluestop.org>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5091656.8gLySxXtyI>