Re: ZFS feature compatibility?

From: John Kennedy <warlock_at_phouka.net>
Date: Mon, 25 Jan 2021 13:51:18 -0800
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
Received on Mon Jan 25 2021 - 20:52:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC