Re: GPT boot has less features than legacy MBR-based one (Was: UEFI, loader.efi and /boot.config)

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 18 Jan 2019 12:27:00 -0700
On Fri, Jan 18, 2019 at 11:27 AM Lev Serebryakov <lev_at_freebsd.org> wrote:

> On 18.01.2019 21:14, Toomas Soome wrote:
>
> > errm.. you press a key and enter device and or loader path. if it is not
> working - the code is there to be fixed.
>  And loader looks to "bootme" attribute and try to boot from partition
> which has one, even if it is loaded from other partition itself.
>

Correct.


> > GPT does not have the concept of active partition.
>  It has "bootme" / "bootonce" attributes. And [zfs]gptboot doesn't have
> any tools to set these attributes, AFAIK. Same for UEFI boot code.
>

gpart can set these.

UEFI completely ignores them, though, because getting to that data is hard
in the UEFI environment. But in UEFI, you're supposed to use BootXXXX and
BootOrder/BootNext as managed by efibootmgr.

Warner
Received on Fri Jan 18 2019 - 18:27:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC