Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2019 11:00:57 -0000
From:      "O. Hartmann" <o.hartmann@walstatt.org>
To:        Toomas Soome <tsoome@me.com>
Cc:        Warner Losh <imp@bsdimp.com>, Rebecca Cran <rebecca@bsdio.com>, "O. Hartmann" <ohartmann@walstatt.org>, greg@unrelenting.technology, Karl Denninger <karl@denninger.net>, freebsd-current@freebsd.org
Subject:   Re: HELP: UEFI/ZFS Boot failure: Ignoring Boot000A: Only one DP found
Message-ID:  <20190827130023.0daa26ce@freyja>
In-Reply-To: <2F3BAE06-4A3F-4FD2-94ED-886FEDA2ED93@me.com>
References:  <20190821232334.433d285c@thor.intern.walstatt.dynvpn.de> <20190821195847.577a165b@thor.intern.walstatt.dynvpn.de> <48D9A1D1-5A54-4FED-8DC8-40C9A5C9BE3A@me.com> <20190821213052.25d61cb4@thor.intern.walstatt.dynvpn.de> <480F8DE0-A38F-4BCA-9F36-0D812CDB7DD8@me.com> <20190821223140.643f6c63@thor.intern.walstatt.dynvpn.de> <f376ad0a-82de-3fca-3d72-7e938e9d1acd@denninger.net> <483d59b24a636d0214555610350b8d73@unrelenting.technology> <20190822050509.64c88a51@thor.intern.walstatt.dynvpn.de> <12E83654-1104-408E-9A1E-BE79308B9A92@me.com> <20190826132150.6f748419@freyja> <a1ddbe9b-642b-f3af-ce37-71c55c4a349a@bsdio.com> <CANCZdfofCFrvfaChjuBEqgVt9G3KKSnfL5SzEv_CZ%2BHobqdHJg@mail.gmail.com> <2F3BAE06-4A3F-4FD2-94ED-886FEDA2ED93@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Aug 2019 08:43:53 +0300
Toomas Soome <tsoome@me.com> wrote:

> > On 27 Aug 2019, at 08:08, Warner Losh <imp@bsdimp.com> wrote:
> >
> > On Mon, Aug 26, 2019, 5:32 PM Rebecca Cran <rebecca@bsdio.com
> > <mailto:rebecca@bsdio.com>> wrote:
> >> On 8/26/19 5:22 AM, O. Hartmann wrote:
> >>
> >>>
> >>> the other thing is the weird Lenovo handling of the UEFI vars. The o=
nly
> >> way to
> >>> boot the E540 (after(!) disabling _BEARSSL in src.conf and rebuildin=
g
> >>> everything) was to set the loader's name to EFI/BOOT/BOOTx64.efi.
> >> Setting the
> >>> variable to contain EFI/BOOT/loader.efi failed as well as setting
> >>> EFI/FreeBSD/loader.efi.
> >>
> >>
> >> I've been suggesting FreeBSD should install the loader as
> >> \EFI\BOOT\BOOTx64.efi for a while (as long as there's not already a
> >> different vendor's loader there), without much success. Hopefully thi=
s
> >> finding can cause us to reconsider.
> >>
> >
> > That's the first machine I've seen where you have to set the name like
> > that... there is a larger story here and we are getting incomplete rep=
orts
> > because it doesn't quite make sense yet...
> >
> > But there are enough reasons not to do that by default. For one thing,=
 it
> > messes up rEFInd, or can. Windows doesn't install there. At most we sh=
ould
> > prompt for older machines.  We shouldn't mortgage our future to cope w=
ith a
> > legacy we know will sunset soon...
> >
> > Warner
> >
>
> For me it is still confusing if this is path versus upper-lower capital
> chars.
>
> If that vendor is using suggestion from UEFI Spec 2.7A section 3.5.1.1 (=
page
> 91), then the file name should also end with .EFI. (and yes, I know, tha=
t
> section is talking about removable media).
>
> Therefore the question is, does lenovo accept name like
> EFI/FREEBSD/LOADER.EFI? Or what form is used there for windows paths?

My initial report was a bit confusing due to the fact I used to have a loa=
der
compiled on 12-STABLE with WITH_BEARSSL enabled. I also mixed up loader.ef=
i
from CURRENT (from the recent USB boot drive image). Since the ESP is FAT1=
2 (in
my case), I thought upper- or lowercase isn't relevant here - but it seems=
 to
be. So I used lower case paths and filenames and in one case a mixture.

Since I now know what the problem caused initially, I can check whether th=
e
path and/or filename's upper- or lowercase matters.

I have a strange feeling about this since the Lenovo E540 has a really ann=
oying
firmware compared to those UEFI firmware we used to have with the upper cl=
ass
models around here (for instance, annoying loud beeping although no-beep i=
s
configured and so on ...).

>
> If we should or should not use EFI/BOOT path - perhaps the installer sho=
uld
> prefer vendor path by default. But till there is confusion, there should=
 be
> some notes in some documentation...
>
> rgds,
> toomas
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or=
g"




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