From owner-freebsd-current@freebsd.org Mon Jan 25 21:56:07 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 EAE564F322B for ; Mon, 25 Jan 2021 21:56:07 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3::19]) (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 "pyroxene.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DPkFz2wR3z3QC4 for ; Mon, 25 Jan 2021 21:56:07 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:6803:7f97:bbf4:4a3c] ([IPv6:2607:f3e0:0:4:6803:7f97:bbf4:4a3c]) by pyroxene2a.sentex.ca (8.15.2/8.15.2) with ESMTPS id 10PLu68i049456 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 25 Jan 2021 16:56:06 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: ZFS feature compatibility? To: John Kennedy Cc: Toomas Soome , Michael Butler , freebsd-current , Mateusz Guzik References: <28fbf9cd-0f56-f6a0-1ddf-186aeed59b95@protected-networks.net> <9e183db9-2ca5-a7bd-2665-cc468d4b69db@sentex.net> <207F268A-30E3-45BE-9377-79C3DC31C328@me.com> From: mike tancsa Message-ID: <1fddab2c-f8bc-4f5e-d2b5-a32442786f3e@sentex.net> Date: Mon, 25 Jan 2021 16:56:07 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4DPkFz2wR3z3QC4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:3::19 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-1.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; HFILTER_HELO_IP_A(1.00)[pyroxene2a.sentex.ca]; HFILTER_HELO_NORES_A_OR_MX(0.30)[pyroxene2a.sentex.ca]; RCPT_COUNT_FIVE(0.00)[5]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f3e0:0:3::19:from]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[mike]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sentex.net]; SPAMHAUS_ZRD(0.00)[2607:f3e0:0:3::19:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[me.com,protected-networks.net,freebsd.org,gmail.com]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; 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:56:08 -0000 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" >