Date: Fri, 6 Sep 2024 19:12:10 +0100 From: void <void@f-m.fm> To: freebsd-current@freebsd.org Subject: Re: Loader needs to be updated message Message-ID: <ZttF-jTn5E0Tfd5M@int21h> In-Reply-To: <CANCZdfoH2_UhjpMhDtGdkH04zHUZc4SS6Ua80iSBoToJQBxMPA@mail.gmail.com> References: <ZtsN-Z-qDfgU4zzk@int21h> <CANCZdfpgCyLOPrhnuWaHL_Sb6qDR9Pdqxy9CnPcxOq6AOehrYA@mail.gmail.com> <ZtsVQav0_oHU2H0x@int21h> <CANCZdfoH2_UhjpMhDtGdkH04zHUZc4SS6Ua80iSBoToJQBxMPA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 06, 2024 at 09:00:58AM -0600, Warner Losh wrote: >man loader.efi has the instructions. I followed the instructions: # gpart list | grep -Ew '(Name|efi)' 1. Name: da0p1 type: efi 2. Name: da0p2 3. Name: da0p3 1. Name: da0 The manpage says: " Second, let's mount the ESP, copy loader.efi to the special location reserved for FreeBSD EFI loaders, and unmount once finished: # mount_msdosfs /dev/nvd0p1 (my system would be da0p1) /boot/efi # cp /boot/loader.efi /boot/efi/efi/freebsd/loader.efi # umount /boot/efi " However, on this system, /boot/efi is mounted at boot-time so I just copied it over. ( /dev/gpt/efiboot0 on /boot/efi (msdosfs, local) ) I first checked to make sure the file being copied over was newer and the right type file /boot/loader.efi /boot/loader.efi: PE32+ executable (EFI application) Aarch64, for MS Windows, 2 sections ls -lah /boot/loader.efi -r-xr-xr-x 2 root wheel 824K 6 Sep 14:47 /boot/loader.efi* file /boot/efi/efi/freebsd/loader.efi /boot/efi/efi/freebsd/loader.efi: PE32+ executable (EFI application) Aarch64, for MS Windows, 2 sections ls -lah /boot/efi/efi/freebsd/loader.efi -rwxr-xr-x 1 root wheel 830K 25 Jul 07:58 /boot/efi/efi/freebsd/loader.efi* copied it over, rebooted, but the error message persists. Do you have any other suggestions please? thanks --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZttF-jTn5E0Tfd5M>