Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2024 06:38:44 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers <hackers@freebsd.org>
Subject:   Re: FreeBSD 14.1 and UEFI boot ignores bootme flag
Message-ID:  <CANCZdfoqJkcgvG_oS_nQfQABvq8E5sQO7piggj_42Qf=6iA3PA@mail.gmail.com>
In-Reply-To: <0C0CF611-4C88-4EF1-9F9A-3A35D5236854@cs.huji.ac.il>
References:  <0C0CF611-4C88-4EF1-9F9A-3A35D5236854@cs.huji.ac.il>

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

[-- Attachment #1 --]
On Tue, Aug 13, 2024, 12:11 AM Daniel Braniss <danny@cs.huji.ac.il> wrote:

> hi,
>         my disk has 2 root partitions, and once I switched to UEFI boot,
> can’t boot the second partition:
> (the hardware is a bit old, Dell PowerEdge R710 with bios from 05/22/2018)
>
> store-08# gpart show -l
> =>        40  5857345456  mfid0  GPT  (2.7T)
>          40       81920      1  efi  (40M)
>       81960     8388608      2  root  (4.0G)
>     8470568     8388608      3  root0  [bootme]  (4.0G)
>    16859176     8388608      4  d1  (4.0G)
>    25247784     8388608      5  d2  (4.0G)
>    33636392  5823709104      6  zfs  (2.7T)
>
> it only boots from partition 2.
>
> so is there any magic?
>

Use efibootmgr. Bootme flags are non-standard and have been ignored in UEFI
since the start.

Or better yet, use boot environments. They are so much nicer than ufs ping
pongs.

Warner

thanks,
>         danny
>
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 13, 2024, 12:11 AM Daniel Braniss &lt;<a href="mailto:danny@cs.huji.ac.il">danny@cs.huji.ac.il</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
        my disk has 2 root partitions, and once I switched to UEFI boot, can’t boot the second partition:<br>
(the hardware is a bit old, Dell PowerEdge R710 with bios from 05/22/2018)<br>
<br>
store-08# gpart show -l<br>
=&gt;        40  5857345456  mfid0  GPT  (2.7T)<br>
         40       81920      1  efi  (40M)<br>
      81960     8388608      2  root  (4.0G)<br>
    8470568     8388608      3  root0  [bootme]  (4.0G)<br>
   16859176     8388608      4  d1  (4.0G)<br>
   25247784     8388608      5  d2  (4.0G)<br>
   33636392  5823709104      6  zfs  (2.7T)<br>
<br>
it only boots from partition 2.<br>
<br>
so is there any magic?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Use efibootmgr. Bootme flags are non-standard and have been ignored in UEFI since the start.</div><div dir="auto"><br></div><div dir="auto">Or better yet, use boot environments. They are so much nicer than ufs ping pongs.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanks,<br>
        danny<br>
<br>
<br>
</blockquote></div></div></div>

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