Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2024 23:53:22 +0200
From:      Axel Rau <Axel.Rau@Chaos1.DE>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.org>
Subject:   Re: preparing EFI loader for upgrade to 14.0-RELEASE
Message-ID:  <9E39E5E5-E501-4083-8908-081DFBCAA9BA@Chaos1.DE>
In-Reply-To: <C1F8FCB2-46EB-49DC-B5DD-260B4589FB7E@Chaos1.DE>
References:  <C1F8FCB2-46EB-49DC-B5DD-260B4589FB7E@Chaos1.DE>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <Axel.Rau@Chaos1.DE>:
>=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

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;"><br =
id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote =
type=3D"cite"><div>Am 21.05.2024 um 22:58 schrieb Axel Rau =
&lt;Axel.Rau@Chaos1.DE&gt;:</div><br =
class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">+Boot000C* UEFI OS =
HD(1,GPT,b6a39bf6-f288-11e9-81c6-d05099d4bb99,0x28,0x64000)/File(\\EFI\\BO=
OT\\BOOTX64.EFI)</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nvd1p1:/EFI/BOO=
T/BOOTX64.EFI (null)</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">Boot0011* UEFI OS =
HD(1,GPT,b69156f5-f288-11e9-81c6-d05099d4bb99,0x28,0x64000)/File(\\EFI\\BO=
OT\\BOOTX64.EFI)</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nvd0p1:/EFI/BOO=
T/BOOTX64.EFI (null)</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"></div></blockquote></div><div><br></div>As this =
is a mirrored root device, I replaced the existing&nbsp;<span =
style=3D"font-family: Menlo-Regular;">BOOTX64.EFI code by =
loader.efi</span><div><span style=3D"font-family: Menlo-Regular;">on =
both C and 11 on both disks.</span><div><font face=3D"Menlo-Regular">This =
should allow booting with the FreeBSD loader even if one disk =
fails.</font></div><div><br></div><div><font =
face=3D"Menlo-Regular">efibootmgr seems to work only on the current boot =
device, so I could</font></div><div><font face=3D"Menlo-Regular">not =
create new entries or change bootorder on the =
mirror.</font></div><div><font =
face=3D"Menlo-Regular"><br></font></div><div><font =
face=3D"Menlo-Regular">Axel<br></font><div>
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div dir=3D"auto" style=3D"caret-color: rgb(0, 0, =
0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div style=3D"color: rgb(0, 0, 0); letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div style=3D"color: rgb(0, 0, 0); letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div style=3D"color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant-ligatures: normal; =
font-variant-position: normal; font-variant-caps: normal; =
font-variant-numeric: normal; font-variant-alternates: normal; =
font-variant-east-asian: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div>---<br>PGP-Key:&nbsp;CDE74120 &nbsp;=E2=98=80 =
mobile: +49 160 7568212</div><div>computing @ chaos =
claudius</div></div></div></div></div></div></div>
</div>
<br></div></div></body></html>=

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9E39E5E5-E501-4083-8908-081DFBCAA9BA>