Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2019 12:27:00 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Lev Serebryakov <lev@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: GPT boot has less features than legacy MBR-based one (Was: UEFI,  loader.efi and /boot.config)
Message-ID:  <CANCZdfon0uV1t=dLE2gcnLRW9DGFmiPgQjtv0zgFE-a3nD2ZRA@mail.gmail.com>
In-Reply-To: <1a19320b-2211-129c-b213-96601814e0d0@FreeBSD.org>
References:  <etPan.5c413a8a.7a8e2073.13b3@freebsd.org> <eb14f962-1c13-cc77-0e8c-575028f7c5d7@FreeBSD.org> <CA%2Bq%2BTcp2%2BsavH1g0q3b9YQ9SW76iXZ2PA6wvj2ok-cUOndZeWw@mail.gmail.com> <CACNAnaGm0AYmWO_T7yau1jYTxQE7i7LXceERDoHHBO1U%2BvTtSQ@mail.gmail.com> <b9223144-fd39-d84f-d310-d8d69f20561a@FreeBSD.org> <CANCZdfp_s1EhHGxd3BzviGV-s%2ByutCqF1csMJ56TZ1n6gtO1tA@mail.gmail.com> <d7829f9c-4526-144b-5eb6-93d2fe8b0376@FreeBSD.org> <8DDD8F7A-40CA-48BB-9F71-56733100AFE0@me.com> <1a19320b-2211-129c-b213-96601814e0d0@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 18, 2019 at 11:27 AM Lev Serebryakov <lev@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfon0uV1t=dLE2gcnLRW9DGFmiPgQjtv0zgFE-a3nD2ZRA>