From owner-freebsd-current@freebsd.org Mon Jan 25 21:52:38 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C37724F2CCC for ; Mon, 25 Jan 2021 21:52:38 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DPk9x48dqz3QDZ for ; Mon, 25 Jan 2021 21:52:37 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.16.1/8.16.1) with ESMTPS id 10PLpKsv054719 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 25 Jan 2021 13:51:20 -0800 (PST) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.16.1/8.16.1/Submit) id 10PLpJZ5054715; Mon, 25 Jan 2021 13:51:19 -0800 (PST) (envelope-from warlock) Date: Mon, 25 Jan 2021 13:51:18 -0800 From: John Kennedy To: mike tancsa Cc: Toomas Soome , Michael Butler , freebsd-current , Mateusz Guzik Subject: Re: ZFS feature compatibility? Message-ID: References: <28fbf9cd-0f56-f6a0-1ddf-186aeed59b95@protected-networks.net> <9e183db9-2ca5-a7bd-2665-cc468d4b69db@sentex.net> <207F268A-30E3-45BE-9377-79C3DC31C328@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4DPk9x48dqz3QDZ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [-0.80 / 15.00]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_CC(0.00)[me.com,protected-networks.net,freebsd.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.170.196.116:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[phouka.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; SPAMHAUS_ZRD(0.00)[107.170.196.116:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2021 21:52:38 -0000 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