No free space in /boot/efi for new kernel error during update

This is semi-bug in suse-module-tools and/or sdbootutil. They attempt to use sdbootutil even though the system is setup to use grub2-efi. Most likely you tried to use systemd-boot in the past or did something that caused it to be present on ESP.

I do not have this either, which makes me really wonder what you did … OK, it is installed by sdbootutil when it sees grub2 instead of systemd-boot.

Anyway - the immediate fix is to delete the file /boot/efi/EFI/opensuse/installed_by_sdbootutil. It should stop attempt to use sdbootutil. Of course, you can simply remove sdbootutil package entirely.

Before doing it, open bug report on https://bugzilla.opensuse.org/ (same user/password as here), select Bootloader as component. Include the complete zypper output you posted earlier, the output of ls -lR /boot/efi and the output of grep LOADER_TYPE /etc/sysconfig/bootloader. Post link to this bug report here.

Well, you can remove any subdirectory of /.snapshots for which no corresponding snapshot is shown by snapper.

P.S. for the future, always force command output to (default) English with

LANG=C ls -l

or similar. In this case the actual dates are not that important, in other cases they may be.

1228383 – 'No free space in /boot/efi for new kernel' error during dist-upgrade, let me know if everything is as it should be.

Fixed. I’ve changed my date locale to English.

Intentionally, no. Maybe it got into the system during zypper dist-upgrades when you get multiple choices with conflicts. I don’t remember.

I’ve deleted the file and removed sdbootutil. Distribution upgrade completed successfully without errors, however sdbootutil got installed again but without the installed_by_sdbootutil file. Is it ok to uninstall sdbootutil and block it from installing ever again?

Thank you very much for your help.

sdbootutil has

Supplements    : (systemd-boot and shim)

This file is created when sdbootutil is run.

If you do not intend to use systemd-boot, just remove it with sdbootutil.

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