On 1/25/2021 4:51 PM, John Kennedy wrote: > On Mon, Jan 25, 2021 at 04:17:18PM -0500, mike tancsa wrote: >> Is there a way to check from the bin if its the right version ? strings >> of the file doesnt seem to show anything useful. I wonder if its the >> UEFI boot that got missed ? Just >> >> gpart bootcode -p /boot/boot1.efifat -i 1ada8 >> gpart bootcode -p /boot/boot1.efifat -i 1ada9 >> >> I take it ? > I don't think that is the way to update UEFI anymore (although last time I > looked it was still documented that way in one place). > > For my last bootcode (which had UEFI & BIOS) update, I basically did this: > > gpart show nvd0 > => 40 976773088 nvd0 GPT (466G) > 40 409600 1 efi (200M) > 409640 1024 2 freebsd-boot (512K) > 410664 984 - free - (492K) > 411648 16777216 3 freebsd-swap (8.0G) > 17188864 959584256 4 freebsd-zfs (458G) > 976773120 8 - free - (4.0K) > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 nvd0 > partcode written to nvd0p2 > bootcode written to nvd0 > > mount -vt msdosfs /dev/nvd0p1 /mnt > /dev/nvd0p1 on /mnt (msdosfs, local, writes: sync 1 async 0, reads: sync 13 async 0, fsid 5c00000032000000) > install -p -m755 /boot/loader.efi /mnt/efi/boot/BOOTx64.efi > umount -v /mnt > /dev/nvd0p1: unmount from /mnt Thanks, I am new to the EFI world. Does the name now have to be BOOTx64.efi ? root_at_zoo2:/boot # ls -l /mnt/EFI/freebsd/ total 824 -rwxr-xr-x 1 root wheel 843776 Nov 21 10:50 loader.efi root_at_zoo2:/boot # ---Mike > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" >Received on Mon Jan 25 2021 - 20:56:07 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC