Re: following -current on rpi4 with zfs-on-root
Warner Losh <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <CANCZdfozCB1n4JKt_bP0vSkNcXw=VbgqD=sShLJYC1j-PNJxUA@mail.gmail.com> |
On Fri, Sep 23, 2022 at 5:32 PM void <[email protected]> wrote: > On Tue, Sep 20, 2022 at 02:36:02PM -0600, Warner Losh wrote: > >> > > >> >> For EFI, there are many choices. The default installation places > >> >> loader.efi into the ESP in EFI\FREEBSD\LOADER.EFI. The following > >> >> updates it (assuming the ESP is on p1, and isn't already mounted): > >> >> mount -t msdos /dev/ada0p1 /boot/efi > >> >> cp /boot/efi/loader.efi /boot/efi/efi/freebsd > >> >> If you have a non-standard setup, please see the EFI notes section. > > Hi Warner, > > On a freshly rebuilt system after make installworld (but before anything > else), > > # mount | grep msdos > > /dev/da0p1 on /boot/efi (msdosfs, local) > > There is no loader.efi in /boot/efi on arm64.aarch64 for raspberry pi 4 > Doh! I let an extra '/efi' slip into my directions. /boot/loader.efi is where it lives on the host. > bootaa64.efi is in /boot/efi/EFI/BOOT, so I followed Marek's > instructions and copied loader_lua.efi to bootaa64.efi from > /usr/obj/usr/src/arm64.aarch64/stand/efi/loader_lua/ > Yea. that's what gets installed into /boot/loader.efi Warner