From nobody Fri May 24 21:53:22 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VmJhR6hYCz5LK3R for ; Fri, 24 May 2024 21:53:43 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mail.nepustil.net (mail.nepustil.net [IPv6:2001:14f8:1:1::8]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VmJhQ4mv2z4gKJ for ; Fri, 24 May 2024 21:53:42 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of Axel.Rau@Chaos1.DE designates 2001:14f8:1:1::8 as permitted sender) smtp.mailfrom=Axel.Rau@Chaos1.DE Received: from [2001:14f8:21c:10::122] (port=55113 helo=smtpclient.apple) by mail.nepustil.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1sAcn1-000Opw-Tx; Fri, 24 May 2024 23:53:29 +0200 From: Axel Rau Message-Id: <9E39E5E5-E501-4083-8908-081DFBCAA9BA@Chaos1.DE> Content-Type: multipart/alternative; boundary="Apple-Mail=_B70D577C-F71C-4A75-B22B-346EEF4832D5" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Date: Fri, 24 May 2024 23:53:22 +0200 Subject: Re: preparing EFI loader for upgrade to 14.0-RELEASE In-Reply-To: To: "freebsd-questions@freebsd.org" References: X-Mailer: Apple Mail (2.3774.600.62) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.25 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.96)[-0.956]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; APPLE_MAILER_COMMON(0.00)[]; DMARC_NA(0.00)[chaos1.de]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4VmJhQ4mv2z4gKJ --Apple-Mail=_B70D577C-F71C-4A75-B22B-346EEF4832D5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 21.05.2024 um 22:58 schrieb Axel Rau : >=20 > +Boot000C* UEFI OS = HD(1,GPT,b6a39bf6-f288-11e9-81c6-d05099d4bb99,0x28,0x64000)/File(\\EFI\\BO= OT\\BOOTX64.EFI) > nvd1p1:/EFI/BOOT/BOOTX64.EFI (null) > Boot0011* UEFI OS = HD(1,GPT,b69156f5-f288-11e9-81c6-d05099d4bb99,0x28,0x64000)/File(\\EFI\\BO= OT\\BOOTX64.EFI) > nvd0p1:/EFI/BOOT/BOOTX64.EFI (null) As this is a mirrored root device, I replaced the existing BOOTX64.EFI = code by loader.efi on both C and 11 on both disks. This should allow booting with the FreeBSD loader even if one disk = fails. efibootmgr seems to work only on the current boot device, so I could not create new entries or change bootorder on the mirror. Axel --- PGP-Key: CDE74120 =E2=98=80 mobile: +49 160 7568212 computing @ chaos claudius --Apple-Mail=_B70D577C-F71C-4A75-B22B-346EEF4832D5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

Am 21.05.2024 um 22:58 schrieb Axel Rau = <Axel.Rau@Chaos1.DE>:

+Boot000C* UEFI OS = HD(1,GPT,b6a39bf6-f288-11e9-81c6-d05099d4bb99,0x28,0x64000)/File(\\EFI\\BO= OT\\BOOTX64.EFI)
          &= nbsp;         nvd1p1:/EFI/BOO= T/BOOTX64.EFI (null)
Boot0011* UEFI OS = HD(1,GPT,b69156f5-f288-11e9-81c6-d05099d4bb99,0x28,0x64000)/File(\\EFI\\BO= OT\\BOOTX64.EFI)
          &= nbsp;         nvd0p1:/EFI/BOO= T/BOOTX64.EFI (null)

As this = is a mirrored root device, I replaced the existing BOOTX64.EFI code by = loader.efi
on = both C and 11 on both disks.
This = should allow booting with the FreeBSD loader even if one disk = fails.

efibootmgr seems to work only on the current boot = device, so I could
not = create new entries or change bootorder on the = mirror.

Axel
---
PGP-Key: CDE74120  =E2=98=80 = mobile: +49 160 7568212
computing @ chaos = claudius

= --Apple-Mail=_B70D577C-F71C-4A75-B22B-346EEF4832D5--