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>

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

[-- Attachment #1 --]
On Sun, Aug 14, 2022 at 7:52 AM Graham Perrin <grahamperrin@freebsd.org>
wrote:

> On 12/08/2022 17:54, Yasuhiro Kimura wrote:
>
> … amd64 … (/boot/efi/efi/freebsd/loader.efi) …
>
> 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=255318#c11>;
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255318#c11>;
>

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 14, 2022 at 7:52 AM Graham Perrin &lt;<a href="mailto:grahamperrin@freebsd.org">grahamperrin@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>On 12/08/2022 17:54, Yasuhiro Kimura wrote:<br>
    </p>
    <blockquote type="cite">
      <pre>… amd64 … (/boot/efi/efi/freebsd/loader.efi) …</pre>
    </blockquote>
    <p>Side note: please, why the FreeBSD reserved area?</p></div></blockquote><div><br></div><div>When you create a boot variable using efibootmgr, it&#39;s better to specify something that&#39;s not the default</div><div>binary. It&#39;s what Windows, Linux, etc do when they are installed and it facilitates better multiboot when</div><div>the target OSes depend on the first stage efi boot loader (like FreeBSD and Windows certainly do).</div><div><br></div><div>Warner </div><blockquote class="gmail_quote" style="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. </p>
    <p><a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255318#c11" target="_blank">&lt;https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255318#c11&gt;</a><br>;
    </p>
  </div>
  <u></u><u></u>

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

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