Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2019 07:27:22 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Kurt Jaeger <pi@opsec.eu>, Rebecca Cran <bcran@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: UEFI, loader.efi and /boot.config
Message-ID:  <201901181527.x0IFRMdm055990@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <CANCZdfp=EkKKA%2ByBzMMUu01sjAV71g4XQxgeh8JWDvA%2B%2BngZww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Fri, Jan 18, 2019, 12:49 AM Kurt Jaeger <pi@opsec.eu wrote:
> 
> > Hi!
> >
> > > With a recent change I made for UEFI, we now install loader.efi onto the
> > ESP and don???t run boot1. That means that /boot.config is no longer read,
> > and so console settings need to be put in /boot/loader.conf
> >
> > Which change is that ?
> >
> 
> Moving from boot1.efi to loader.efi. loader.efi never looked at it.
> loader.efi honors the uefi env vars to set the console which replaces the
> old way.
> 

So it sounds like what we need is some documentation that covers:

a)  If your using mbr/bios boot and /boot.config you need to move
your settings from /boot.config to /boot/loader.conf

or

b)  If your using uefi boot and /boot.config you need to migrate
your settings from /boot.config to uefi env vars foo bar and zep

Or did I get loss in the twisty maze of changes?


> Warner
> 
> > I was wondering if people will expect /boot.config to still be read and
> > so code should be added to loader to continue to parse it, or if
> > loader.conf can be considered the correct place and boot.config forgotten
> > about?
> >
> > I have quite a few systems using /boot.config, but can cope if I know
> > about this.
> >
> > --
> > pi@opsec.eu            +49 171 3101372                    One year to go !

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901181527.x0IFRMdm055990>