Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2021 13:51:18 -0800
From:      John Kennedy <warlock@phouka.net>
To:        mike tancsa <mike@sentex.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:  <YA89VjbSBM3n77mq@phouka1.phouka.net>
In-Reply-To: <d34bfe20-567e-14a5-074e-66aed6083da0@sentex.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YA89VjbSBM3n77mq>