UEFI, loader.efi and /boot.config

Rodney W. Grimes freebsd-rwg at pdx.rh.CN85.dnsmgr.net
Fri Jan 18 15:27:28 UTC 2019


> On Fri, Jan 18, 2019, 12:49 AM Kurt Jaeger <pi at 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 at opsec.eu            +49 171 3101372                    One year to go !

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-current mailing list