Date: Mon, 25 Jan 2021 16:56:07 -0500 From: mike tancsa <mike@sentex.net> To: John Kennedy <warlock@phouka.net> Cc: Toomas Soome <tsoome@me.com>, Michael Butler <imb@protected-networks.net>, freebsd-current <freebsd-current@freebsd.org>, Mateusz Guzik <mjguzik@gmail.com> Subject: Re: ZFS feature compatibility? Message-ID: <1fddab2c-f8bc-4f5e-d2b5-a32442786f3e@sentex.net> In-Reply-To: <YA89VjbSBM3n77mq@phouka1.phouka.net> References: <28fbf9cd-0f56-f6a0-1ddf-186aeed59b95@protected-networks.net> <CC26196B-AAFB-4E5E-AAC9-B93EB3C6FD03@me.com> <9e183db9-2ca5-a7bd-2665-cc468d4b69db@sentex.net> <207F268A-30E3-45BE-9377-79C3DC31C328@me.com> <d34bfe20-567e-14a5-074e-66aed6083da0@sentex.net> <YA89VjbSBM3n77mq@phouka1.phouka.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@zoo2:/boot # ls -l /mnt/EFI/freebsd/ total 824 -rwxr-xr-x 1 root wheel 843776 Nov 21 10:50 loader.efi root@zoo2:/boot # ---Mike > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1fddab2c-f8bc-4f5e-d2b5-a32442786f3e>