You are not logged in.

#1 2019-07-28 01:14:45

nontlikeuname
Member
Registered: 2013-07-23
Posts: 21

[SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

After installing Arch I couldn't see the option to boot my freshly installed OS from the boot menu. The only boot entry I can see is to boot the USB installation medium again. I decide to try that to have another go at making Arch bootable. I tried setting up booting with EFISTUB again. No luck. Then rEFInd, then GRUB. No errors during setup, but no boot option appears in my boot menu.

Whenever I boot the into the installation medium again I can run efibootmgr and see a list that includes all the boot entries that I've added. It's only when I actually try to boot that these options aren't available in the boot menu.

Finally, I try to set up rEFInd, using the UEFI shell. This works.

Here's what the output of efibootmgr --verbose looks like at the moment.

BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0000
Boot0000* Arch Linux	PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(1,GPT,8a16d507-673a-4a85-8193-d2c7985d5783,0x800,0x82000)/File(\vmlinuz-linux).. .r.o.o.t.=./.d.e.v./.n.v.m.e.0.n.1.p.3. .r.o. .i.n.i.t.r.d.=.\.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g.0.x.ptal0.0.(.......................................................................ptalM.e.x.......,.0... .r.o.o.t.=./.d.e.v./.n.v.m.e.0.n.1.p.3. .r.w. .i.n.i.t.r.d.=.\.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g.
Boot0001* Arch Linux	HD(1,GPT,8a16d507-673a-4a85-8193-d2c7985d5783,0x800,0x82000)/File(\vmlinuz-linux)r.o.o.t.=.P.A.R.T.U.U.I.D.=.d.8.b.8.1.d.5.6.-.a.7.c.2.-.4.c.a.0.-.9.d.8.6.-.7.1.7.2.c.4.7.1.3.2.5.3. .r.w. .i.n.i.t.r.d.=.\.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g.
Boot0002* GRUB	HD(1,GPT,8a16d507-673a-4a85-8193-d2c7985d5783,0x800,0x82000)/File(\EFI\GRUB\grubx64.efi)
Boot0003* ubuntu	HD(1,GPT,d4e641ba-2844-4cf7-8258-44adfe1ab88d,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* rEFInd Boot Manager	HD(1,GPT,8a16d507-673a-4a85-8193-d2c7985d5783,0x800,0x82000)/File(\EFI\refind\refind_x64.efi)
Boot0006* Arch	PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(1,GPT,8a16d507-673a-4a85-8193-d2c7985d5783,0x800,0x82000)/File(\EFI\refind\refind_x64.efi)

Only the entries that start with PciRoot(0x0) are visible from the boot manager. The entries that start with HD don't show up.
Any time I (or GRUB or rEFInd) makes a new entry with efibootmgr it has none of the Pci and NVMe stuff at the beginning. If I make a new entry with bcfg from the UEFI shell or if i make a new entry from within the UEFI boot settings then I get an entry that starts with PciRoot stuff, and it is visible and available as a boot option.

Can anyone help me to workout what the PciRoot/Pci/NVMe stuff means, why it's there when using bcfg, why it's not there with efibootmgr? I'm interested in knowing why it's needed (assuming that it is needed and isn't just a coincidence). And how I can make boot entries that appear in the boot menu from within arch (preferably with efibootmgr) rather than needing to use the UEFI shell or the UEFI settings.

Thanks in advance

(Not sure whether this is Installation, Kernel & Hardware or Laptop Issues)
P.S. I'm using a (refurbished) Dell XPS 13 (9370), and there's nothing on the wiki page about to do with this

Last edited by nontlikeuname (2019-08-01 20:48:20)

Offline

#2 2019-07-28 01:23:18

loqs
Member
Registered: 2014-03-06
Posts: 8,749

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

Some firmware does follow the NVRAM listing please see.

Offline

#3 2019-07-28 01:35:10

nontlikeuname
Member
Registered: 2013-07-23
Posts: 21

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

Thanks for the link. Would you clarify which question you think that link helps answer? I don't *think* the problem is naming, I can already boot rEFInd without naming it EFI/BOOT/bootarch.efi or EFI/Microsoft/Boot/bootmgfw.efi.

Offline

#4 2019-07-28 01:42:03

loqs
Member
Registered: 2014-03-06
Posts: 8,749

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

You are right I misread what you had written,  sorry for the noise.

Offline

#5 2019-07-28 08:23:55

d_fajardo
Member
Registered: 2017-07-28
Posts: 476

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

I'm beginning to suspect this is a motherboard firmware issue. I also have but different problem with my firmware's EFI  and I always have to resort to UEFI Shell to correct it. Some firmware are not implemented well it seems to communicate with efibootmgr, so it won't matter if using EFISTUB, rEFInd or Grub.

Offline

#6 2019-07-28 12:41:28

nl6720
Wiki Admin
Registered: 2016-07-02
Posts: 165

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

Could be https://github.com/rhboot/efibootmgr/issues/86 ?

Try manually creating a boot entry with efibootmgr and adding "-e 3" to the command.

Offline

#7 2019-08-01 20:46:19

nontlikeuname
Member
Registered: 2013-07-23
Posts: 21

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

Yep, thanks! That's exactly the issue I'm having. Using -e 3 works but is slightly inconvenient when other tools such as rEFInd use efibootmgr without the flag. In the end I got rid of all other entries (as I wasn't using them) and so the -e 3 isn't necessary.

I think I'll mark this as solved. Even though there is still an issue with efibootmgr I've got a workaround that I'm comfortable with.

Offline

#8 2019-08-01 21:17:41

progandy
Member
Registered: 2012-05-17
Posts: 3,535

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

nontlikeuname wrote:

Using -e 3 works but is slightly inconvenient when other tools such as rEFInd use efibootmgr without the flag.

You can put a wrapper in /usr/local/bin that will call the original with the flag.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#9 2019-08-01 21:18:56

nontlikeuname
Member
Registered: 2013-07-23
Posts: 21

Re: [SOLVED] Some UEFI Boot Options Invisible in UEFI Boot Manager

Didn't think of that, thanks

Offline

Board footer

Powered by FluxBB