Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2019 10:13:49 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Lev Serebryakov <lev@freebsd.org>
Cc:        Kyle Evans <kevans@freebsd.org>, =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@freebsd.org>,  Rebecca Cran <bcran@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: UEFI, loader.efi and /boot.config
Message-ID:  <CANCZdfp_s1EhHGxd3BzviGV-s%2ByutCqF1csMJ56TZ1n6gtO1tA@mail.gmail.com>
In-Reply-To: <b9223144-fd39-d84f-d310-d8d69f20561a@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 18, 2019 at 8:55 AM Lev Serebryakov <lev@freebsd.org> wrote:

> On 18.01.2019 17:10, Kyle Evans wrote:
>
> > There's some UEFI var that's supposed to serve the same kind of
> > purpose as /boot.config -- early boot parameters. I think we had
> > discussed implementing this at some point, but this hasn't been done
> > yet as far as I've seen. Would this be usable on your appliances?
>  How could I set UEFI variable? Via BIOS/UEFI Setup? I don't see this at
> my systems.
>

If your BIOS allows it, you can set the standard ConOut variables the UEFI
standard defines with the efivar program. In addition, you can add args to
the 'binary blob' part of the BOOT OPTIONS variables (BootXXXX), though
efibootmgr doesn't currently support it (it likely should).


>  Also, there are same problems with GPT/BIOS setup (which uses GPT but
> legacy boot) :-(
>

What same problems? I don't think we've touched how gptboot has handed off
to /boot/loader in a long, long time. It there's an issue here, it's a
different issue.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp_s1EhHGxd3BzviGV-s%2ByutCqF1csMJ56TZ1n6gtO1tA>