shim install error at end of installation

I just did a fresh install of Tumbleweed.

I formatted my / and /boot/efi according to the default settings by Suse. I have mounted my existing /home accordingly. When the installation is finished Yast throws an error:

https://susepaste.org/20590369

and I’m not able to create a grub image. After logging-in and opening Yast I want to make changes to the bootloader, but the same error is thrown.

sudo btrfs filesystem usage / 
Overall: 
    Device size:                  99.51GiB 
    Device allocated:             12.02GiB 
    Device unallocated:           87.49GiB 
    Device missing:                  0.00B 
    Used:                         10.16GiB 
    Free (estimated):             87.92GiB      (min: 44.17GiB) 
    Free (statfs, df):            87.92GiB 
    Data ratio:                       1.00 
    Metadata ratio:                   2.00 
    Global reserve:               21.09MiB      (used: 0.00B) 
    Multiple profiles:                  no 

Data,single: Size:10.01GiB, Used:9.58GiB (95.73%) 
   /dev/sda4      10.01GiB 

Metadata,DUP: Size:1.00GiB, Used:296.31MiB (28.94%) 
   /dev/sda4       2.00GiB 

System,DUP: Size:8.00MiB, Used:16.00KiB (0.20%) 
   /dev/sda4      16.00MiB 

Unallocated: 
   /dev/sda4      87.49GiB

How can I overcome this issue, so that Grub can write the file?

I’m pretty sure that “No space left on device” is referring to the part of NVRAM used by UEFI as the device.

You did not say what happened after that message. If you told it to continue, then your system is probably installed, but perhaps not bootable.

If you are planning to retry the install, then click on “Booting” near the top of the summary page. There should be a box “Update NVRAM entry”. Uncheck that box. That avoids writing to NVRAM, and should prevent the error from occurring, but your system might not be bootable.

Either way, if your system isn’t bootable, try booting your install media. And select the entry “Boot from hard drive”. That should get you into your system. From there, you can try to delete some of the NVRAM entries, to see if that makes space available. I’ll give more details on that when you tell us how things have gone.

I’m able to boot the system without issue. I can’t make changes to the bootloader settings. Unchecking the NVRAM box does allow me to make changes.

What does this setting do?

It tells the system to not attempt to write an NVRAM entry.

It looks as if you already have a suitable NVRAM entry, so the system continues using that. Otherwise it would delete the current entry and then put it back. Leaving that box unchecked should be fine. I also do that.

Can you post the output from:

efibootmgr

This will list all of the boot entries. Maybe there are some that can be removed.

Maybe also look at the output from:

mokutil -l

It will list any enrolled keys. There’s no need to post them. But maybe you could check how many keys are enrolled. Possibly some can be removed.

It should always be “efibootmgr -v”. “efibootmgr” alone does not tell much.

efibootmgr -v 
BootCurrent: 0000 
Timeout: 0 seconds 
BootOrder: 0000,0005,0002,0001,0003,0004,0006 
Boot0000* opensuse-secureboot   HD(1,GPT,f266fbcd-9e42-477c-95bb-424bd919d4f7,0x800,0xfa000)/File(\EFI\OPENSUSE\SHIM.EFI) 
Boot0001  Hard Drive    BBS(HD,,0x0)AMGOAMNO........o.S.a.m.s.u.n.g. .S.S.D. .8.7.0. .E.V.O. .5.0.0.G.B....................A...........................>..Gd-.;.A..MQ..L.6.S.A.2.J.N.R.0.1.1.5.7.2.9. .D. . . . ......AMBOAMNO........o.W.D.C. .W.D.3.2.0.0.A.A.V.S.-.0.0.Z.T.
B.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.U.A.0.3.4.0.4.5.5.1......AMBO 
Boot0002* CD/DVD Drive  BBS(CDROM,,0x0)AMGOAMNO........o.H.L.-.D.T.-.S.T. .B.D.-.R.E. . .B.H.1.0.L.S.3.8....................A...........................>..Gd-.;.A..MQ..L.9.K.C.K.A.B.4.I.3.0. .8. . . . . . . . ......AMBO 
Boot0003* UEFI:CD/DVD Drive     BBS(129,,0x0) 
Boot0004* UEFI:Removable Device BBS(130,,0x0) 
Boot0005* UEFI OS       HD(1,GPT,f266fbcd-9e42-477c-95bb-424bd919d4f7,0x800,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)AMBO 
Boot0006* UEFI:Network Device   BBS(131,,0x0)

By what I can tell there is only 1 key installed.

I was thinking that there might be some stale entries that could be removed, so as to free up NVRAM space. But it seems that I was mistaken about that.

Thanks for providing the information so that I could check.