Should/does loader.efi respect the "bootme" GPT attribute ?

Lev Serebryakov lev at FreeBSD.org
Thu Dec 17 13:19:04 UTC 2020


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 EFI
 > 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 with
 > UEFI."

  Could it be used here?

-- 
// Lev Serebryakov


More information about the freebsd-hackers mailing list