Re: FreeBSD 14.1 and UEFI boot ignores bootme flag

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 13 Aug 2024 12:38:44 UTC
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
>
>
>