Installation Error: efibootmgr failed to register the boot entry

I am currently trying to install openSUSE leap 15.3 to my lenovo idepad s130, but right when the installation with yast is about to finish, i get this error:

Execution of command “”/usr/sbin/grub2-install","–target=x86_64-efi","–force","–skip-fs-probe"]]" failed.
Exit code: 1
Error output: installing for x86_64-efi platform.
Could not prepare Boot variable: Success
/usr/sbin/grub2-install: error: efibootmgr failed to register the boot entry: Input/output error.

I have tried the enabling/disabling the options for “booting” in yast in all combinations (Secure Boot, Trusted Boot, Update NVRAM), looked at the bios settings (UEFI-Mode etc), have tried a different USB and installing the same iso in a virtual machine (worked fine). I have also tried installing via live image, but it did not seem to recognize my hard drive, since no automatic partitioning was availavle/no disk could be selected. The disk built in is a 64 GB eMMC; i was made aware of this efivars bug elsewhere: https://bugzilla.redhat.com/show_bug.cgi?id=1826864 maybe it has something to do with this?

Unfortunately, i am not that technologically gifted/capable; does anyone here know what may be the problem?

I’ll note that I am only guessing.

It is possible an issue with NVRAM. Perhaps it has run out of free space.

Can you post the output from

efibootmgr -v

and please use CODE tags to post that.

Even the robust ASRock Z170 Pro4S of one of my systems needs a reset every few years. I got puzzling behavior a few days ago. “Load Optimized Defaults” made the board great again. Try that with your system. If that doesn’t help tinkering may be required. The following worked for me when switching
from tradional BIOS to UEFI:

efibootmgr --create --disk /dev/sda --part 1 --label test --loader /EFI/opensuse/grubx64.efi

You may need to adjust command parameters according to your system values.

  1. Try to update BIOS.

  2. Solution from https://bugzilla.redhat.com/show_bug.cgi?id=1826864

efibootmgr -c -d /dev/mmcblk2p1 -l ‘\EFI\fedora\shimia32.efi’ -L Fedora

Create bug report if that works.

  1. You may use SSD and M.2 slot:

SATA or NVME?

If TPM was enabled, it is unlikely that, you could have booted the openSUSE installation DVD.

  • The BIOS/UEFI message for this case is here – <SUSE Paste.