Failed to open \EFI\opensuse\ - Not Found

Hi,
I encountered a problem and I do not know what to look for next.
Long story short: I struggled to install 15.6 from a USB stick in an oldish dell laptop with Win10 and Leap 15.5 (that was installed from a CD last time).
I eventually managed to make the USB stick appear in the bios boot list and from that point I could install 15.6 without issues.
However, when booting, I get:

failed to open \EFI\opensuse\ - Not Found

however the grub menu is shown and I can both boot into 15.6 and into Win10.

I am aware that others have found a somewhat similar problem related to a missing file:

but the difference is that there is no .efi file mentioned. So what should I be looking for? What is missing?
And if there is something missing, how come 15.6 and Win10 can boot without an issue?
Thanks for any insights!

I’m pretty sure that your link is to a different problem.

Since you are able to boot into 15.6 (but I’m not sure how), please provide the output from

efibootmgr -v

Maybe you installed in legacy/MBR in which case you don’t have an efi directory??? can you boot to Windows from the grub menu??

@nrickert Thank you, I will do that tomorrow as I am away from that machine right now.

@gogalthorp Thank you. Yes I can boot both Win10 and leap 15.6 from the grub menu. That is what I find strange too. I will report back what the efibootmgr command says.
The message is shown for a couple of seconds, then the grub menu is shown.

The chances are that your BIOS is attempting to boot its first choice, failing, and then falling back to its second boot choice.

This may take some sorting out.

@nrickert here it is the output of efibootmgr -v:

BootCurrent: 0007
Timeout: 2 seconds
BootOrder: 0002,0003,0001,0000,0004,0007,0005,0006
Boot0000  Diskette Drive        BBS(Floppy,,0x0)
Boot0001* Internal HDD  BBS(HD,,0x0)P0: WDC WD7500BPKT-75PK4T0    .
Boot0002* USB Storage Device    BBS(USB,,0x0)
Boot0003* CD/DVD/CD-RW Drive    BBS(CDROM,,0x0)P3: HL-DT-ST DVD+/-RW GU60N   .
Boot0004  Onboard NIC   BBS(Network,,0x0)IBA GE Slot 00C8 v1533.
Boot0005* opensuse      HD(2,GPT,c97defa7-4797-4a6b-8a0f-b2df46d0f61f,0xfa000,0x100000)/File(\EFI\opensuse\grubx64.efi)
Boot0006* Windows Boot Manager  HD(2,GPT,c97defa7-4797-4a6b-8a0f-b2df46d0f61f,0xfa000,0x100000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...c................
Boot0007* opensuse-secureboot   HD(2,GPT,c97defa7-4797-4a6b-8a0f-b2df46d0f61f,0xfa000,0x100000)/File(\EFI\opensuse\shim.efi)

I checked the bios and there are three entries

opensuse-secureboot
opensuse
Windows boot manager

I had a look in /boot/efi/EFI/ and there are three subfolders:

Boot
Microsoft
opensuse

the opensuse folder contains

boot.csv
grub.cfg
grub.efi
grubx64.efi
MokManager.efi
shim.efi

Many thanks

I still miss the very basic information - does this error appear before or after grub gets loaded. Video would be useful.

Thank you! It is as described above (sorry it was not clear in the first post): the error appears for a couple of seconds, then the grub menu is immediately shown and I can boot both 15.6 and Win10.

It does not answer the question. Can you capture video up to the grub menu?

Sorry I cannot do that at the moment. There is nothing else than this:
Black screen, error appears in the top left corner of screen for 2 sec, then grub menu is shown.

Show

hexdump -C /sys/firmware/efi/efivars/Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c

It shows:

e098032b8c
00000000  07 00 00 00 01 00 00 00  60 00 6f 00 70 00 65 00  |........`.o.p.e.|
00000010  6e 00 73 00 75 00 73 00  65 00 2d 00 73 00 65 00  |n.s.u.s.e.-.s.e.|
00000020  63 00 75 00 72 00 65 00  62 00 6f 00 6f 00 74 00  |c.u.r.e.b.o.o.t.|
00000030  00 00 04 01 2a 00 02 00  00 00 00 a0 0f 00 00 00  |....*...........|
00000040  00 00 00 00 10 00 00 00  00 00 a7 ef 7d c9 97 47  |............}..G|
00000050  6b 4a 8a 0f b2 df 46 d0  f6 1f 02 02 04 04 32 00  |kJ....F.......2.|
00000060  5c 00 45 00 46 00 49 00  5c 00 6f 00 70 00 65 00  |\.E.F.I.\.o.p.e.|
00000070  6e 00 73 00 75 00 73 00  65 00 5c 00 73 00 68 00  |n.s.u.s.e.\.s.h.|
00000080  69 00 6d 00 2e 00 65 00  66 00 69 00 00 00 7f ff  |i.m...e.f.i.....|
00000090  04 00                                             |..|
00000092

Is Secure Boot enabled in BIOS? What shows

mokutil --sb-state

Hm… you probably hit the nail the head. It shows:

This system doesn't support Secure Boot

There is no option in the BIOS to set secure boot (it is an oldish machine), so I guess that I should uncheck the opensuse-secureboot option from the boot list.
Many thanks for your help.

Then you understand more than I do. Even with Secure Boot disabled shim is still expected to work.

It looks like your UEFI firmware fails to perform directory scan. This is the only non-fatal place where this error message is printed by shim. In this case using grub2 directly is indeed the simplest workaround. As long as grub will not hit similar problem of course …

I only assumed that by the command saying that secure boot is not supported, it explained the error. Thanks for explaining that shim should still work.

Am I right thinking that this is not an installation problem? I would not mind reinstalling 15.6 to see whether that changes anything.
By the way, removing the opensuse-secureboot entry from the boot list, grub2 boots fine (and no error is shown).
Thank you.

I do not see anything related to installation.

Hi, just an update. Out of curiosity I rebooted from the install USB to see if there was any other error that I might have missed in the first installation, and indeed there is one, sorry I did not notice it but it does not show up when booting from the HD:

Failed to open \EFI\BOOT\ - Not found
Could not create MokListRT: Out of Resources
Importing MOK states has failed: import_mok_state() failed: Out of Resources
Continuing boot since secure mode is disabled

I have read about similar instances where people cannot use secureboot in other distributions either so will carry on with the other booting entry in the bios that works. BTW I have the latest Dell bios installed.
Thanks for the help received.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.