Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2022 13:46:18 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Graham Perrin <grahamperrin@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: bootx64.efi; and loader.efi in the FreeBSD reserved area (was: Updating EFI boot loader results in boot hangup)
Message-ID:  <CANCZdfq1BjrxYox_grEJ0TFzr4VftXUMm3i6yVbyCa3=hqHzxQ@mail.gmail.com>
In-Reply-To: <029d861e-7a30-296b-669d-5496eb120110@freebsd.org>
References:  <20220813.015426.809710797578801280.yasu@FreeBSD.org> <029d861e-7a30-296b-669d-5496eb120110@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000004fd2dd05e64ce38e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 14, 2022 at 7:52 AM Graham Perrin <grahamperrin@freebsd.org>
wrote:

> On 12/08/2022 17:54, Yasuhiro Kimura wrote:
>
> =E2=80=A6 amd64 =E2=80=A6 (/boot/efi/efi/freebsd/loader.efi) =E2=80=A6
>
> Side note: please, why the FreeBSD reserved area?
>

When you create a boot variable using efibootmgr, it's better to specify
something that's not the default
binary. It's what Windows, Linux, etc do when they are installed and it
facilitates better multiboot when
the target OSes depend on the first stage efi boot loader (like FreeBSD and
Windows certainly do).

Warner

>
> I'm more familiar with /efi/boot/bootx64.efi for amd64.
>
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255318#c11>;
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255318#c11>;
>

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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, Aug 14, 2022 at 7:52 AM Graha=
m Perrin &lt;<a href=3D"mailto:grahamperrin@freebsd.org">grahamperrin@freeb=
sd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex">
 =20
   =20
 =20
  <div>
    <p>On 12/08/2022 17:54, Yasuhiro Kimura wrote:<br>
    </p>
    <blockquote type=3D"cite">
      <pre>=E2=80=A6 amd64 =E2=80=A6 (/boot/efi/efi/freebsd/loader.efi) =E2=
=80=A6</pre>
    </blockquote>
    <p>Side note: please, why the FreeBSD reserved area?</p></div></blockqu=
ote><div><br></div><div>When you create a boot variable using efibootmgr, i=
t&#39;s better to specify something that&#39;s not the default</div><div>bi=
nary. It&#39;s what Windows, Linux, etc do when they are installed and it f=
acilitates better multiboot when</div><div>the target OSes depend on the fi=
rst stage efi boot loader (like FreeBSD and Windows certainly do).</div><di=
v><br></div><div>Warner=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div><p> <br>
    </p>
    <p>I&#39;m more familiar with /efi/boot/bootx64.efi for amd64.=C2=A0</p=
>
    <p><a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D25531=
8#c11" target=3D"_blank">&lt;https://bugs.freebsd.org/bugzilla/show_bug.cgi=
?id=3D255318#c11&gt;</a><br>
    </p>
  </div>
  <u></u><u></u>

</blockquote></div></div>

--0000000000004fd2dd05e64ce38e--



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