GPT boot has less features than legacy MBR-based one (Was: UEFI, loader.efi and /boot.config)
Warner Losh
imp at bsdimp.com
Fri Jan 18 19:27:13 UTC 2019
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
More information about the freebsd-current
mailing list