On 2019-09-05 07:57, Dimitry Andric wrote:
On 4 Sep 2019, at 22:55, Rebecca Cran <bc...@freebsd.org> wrote:

Author: bcran
Date: Wed Sep  4 20:55:48 2019
New Revision: 351831
URL: https://svnweb.freebsd.org/changeset/base/351831

Log:
  The efifat files are no longer used: remove the code to build them

  Reviewed by:  imp, tsoome, emaste
  Differential Revision:        https://reviews.freebsd.org/D20562

So what are now the instructions for updating an EFI partition, after a
buildworld?  I used to find that efifat file quite handy, I could just
use gpart -p to write it into the EFI partition... :-/

-Dimitry


This is what I do:

mount -t msdosfs /dev/ada0p1 /mnt # (if that's the ESP, check with gpart list)
cp /boot/loader.efi /mnt/EFI/FreeBSD/loader.efi
umount /mnt

This works if proper EFI boot variables have been set up. This can be done with, it's only needed the first time, or if they are somehow overwritten.

efibootmgr --create --activate --label FreeBSD --loader /dev/ada0p1:/EFI/FreeBSD/loader.efi

Once again, check that /dev/ada0p1 is the ESP.
You can check your efi boot variables with efibootmgr -v

Regards
--
Niclas
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to