Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2022 08:52:13 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        "Eugene M. Zheganin" <eugene@zhegan.in>
Cc:        FreeBSD Stable ML <stable@freebsd.org>
Subject:   Re: FreeBSD UEFI and freebsd-boot second partition
Message-ID:  <CANCZdfrA24WVeA02Uugq=-L0NcVM_0Nz58_Nvzf8h9H6wAi-nQ@mail.gmail.com>
In-Reply-To: <6f844ccd-b7ba-3061-fad4-958e030e7cd9@zhegan.in>
References:  <6f844ccd-b7ba-3061-fad4-958e030e7cd9@zhegan.in>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ec8d0a05d98ebbd0
Content-Type: text/plain; charset="UTF-8"

On Sun, Mar 6, 2022, 8:40 AM Eugene M. Zheganin <eugene@zhegan.in> wrote:

> Hello,
>
>
> Sorry, just failed to find this after a quick googling: bsdinstall in
> UEFI environment creates freebsd-boot second partition. What for and
> what lives there ? I used to think that only EFI system partition is
> needed.
>

It creates both. This dates from a time that UEFI support was new and
people would configure their BIOS to boot in either the old "BIOS" boot or
with the new UEFI to help diagnose problems.  Now that operation is rare,
but we still have this confusing quirk.

P.S. Attached a second disk to zroot and now wonder what to put there.
> Should I treat it as the regular pre-UEFI gptzfsboot one ?
>

I'd put nothing on it. Unless you are creating a redundant boot setup....

Warner

>
> Thanks.
>
> Eugene.
>
>
>

--000000000000ec8d0a05d98ebbd0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Sun, Mar 6, 2022, 8:40 AM Eugene M. Zheganin &lt;<a=
 href=3D"mailto:eugene@zhegan.in">eugene@zhegan.in</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello,<br>
<br>
<br>
Sorry, just failed to find this after a quick googling: bsdinstall in <br>
UEFI environment creates freebsd-boot second partition. What for and <br>
what lives there ? I used to think that only EFI system partition is needed=
.<br></blockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto"=
>It creates both. This dates from a time that UEFI support was new and peop=
le would configure their BIOS to boot in either the old &quot;BIOS&quot; bo=
ot or with the new UEFI to help diagnose problems.=C2=A0 Now that operation=
 is rare, but we still have this confusing quirk.</div><div dir=3D"auto"><b=
r></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">
P.S. Attached a second disk to zroot and now wonder what to put there. <br>
Should I treat it as the regular pre-UEFI gptzfsboot one ?<br></blockquote>=
</div></div><div dir=3D"auto"><br></div><div dir=3D"auto">I&#39;d put nothi=
ng on it. Unless you are creating a redundant boot setup....</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div><div dir=3D"auto"><=
div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks.<br>
<br>
Eugene.<br>
<br>
<br>
</blockquote></div></div></div>

--000000000000ec8d0a05d98ebbd0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrA24WVeA02Uugq=-L0NcVM_0Nz58_Nvzf8h9H6wAi-nQ>