Should/does loader.efi respect the "bootme" GPT attribute ?
imp at bsdimp.com
Thu Dec 17 17:41:58 UTC 2020
On Thu, Dec 17, 2020 at 6:19 AM Lev Serebryakov <lev at freebsd.org> wrote:
> On 15.12.2020 23:10, Warner Losh wrote:
> > On Tue, Dec 15, 2020 at 9:51 AM Poul-Henning Kamp <phk at phk.freebsd.dk>
> >>> It is intentional. UEFI really doesn't want you using non-standard
> >>> partition flags to determine boot order.
> >> So how would one go about doing "boot0/nanobsd-style" dual
> >> root the "proper" way in an UEFI environment ?
> > By using gptboot.efi in the ESP and placaing loader.efi in the UFS
> > partitions...
> But You've said, that:
> > UEFI has its own bootnext protocol, that works in conjunction with the
> > environment variables to have a more robust, less 'guess what I mean'
> > approach. So all in all, it's hard, non-standard and doesn't play well
> > UEFI."
> Could it be used here?
Yes. It can.
More information about the freebsd-hackers