Date: Thu, 5 Sep 2019 10:41:55 +0200 From: Niclas Zeising <zeising+freebsd@daemonic.se> To: Dimitry Andric <dim@FreeBSD.org>, Rebecca Cran <bcran@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org> Subject: Re: svn commit: r351831 - in head: . stand/efi/boot1 stand/efi/gptboot tools/build/mk Message-ID: <b9066733-5706-da08-438c-da5e43ec9b85@daemonic.se> In-Reply-To: <597F1636-E881-4ECF-A341-1C2F658CFB4F@FreeBSD.org> References: <201909042055.x84KtnH6078288@repo.freebsd.org> <597F1636-E881-4ECF-A341-1C2F658CFB4F@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-09-05 07:57, Dimitry Andric wrote: > On 4 Sep 2019, at 22:55, Rebecca Cran <bcran@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b9066733-5706-da08-438c-da5e43ec9b85>