Bug ID 1228383
Summary 'No free space in /boot/efi for new kernel' error during dist-upgrade
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Bootloader
Assignee screening-team-bugs@suse.de
Reporter v.jag@mailbox.org
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Created attachment 876303 [details]
Zypper dup log

During the zypper dup to install 20240725 snapshot i got the following error:

“Error: No free space in /boot /efi for new kernel"

After reboot PC failed to boot into GUI so i had to rollback to previous
snapshot.

Zypper output log is attached separately.

userv@localhost:~> grep LOADER_TYPE /etc/sysconfig/bootloader
LOADER_TYPE="grub2-efi"

userv@localhost:~> ls -lR /boot/efi
/boot/efi:
total 6
drwxr-xr-x 4 root root 2048 Oct  30  2022 EFI
drwxr-xr-x 3 root root 2048 Jul  27 12:01 loader
drwxr-xr-x 6 root root 2048 Jul  27 16:42 opensuse-tumbleweed

/boot/efi/EFI:
total 4
drwxr-xr-x 2 root root 2048 Jul  27 12:01 boot
drwxr-xr-x 3 root root 2048 Jul  27 12:01 opensuse

/boot/efi/EFI/boot:
total 3880
-rwxr-xr-x 1 root root  934024 Jul  27 19:16 BOOTX64.EFI
-rwxr-xr-x 1 root root   86208 Mar   14 07:58 fallback.efi
-rwxr-xr-x 1 root root     155 Jul  27 19:16 grub.cfg
-rwxr-xr-x 1 root root 2099056 Jul  27 19:16 grub.efi
-rwxr-xr-x 1 root root  846096 Jul  27 19:16 MokManager.efi

/boot/efi/EFI/opensuse:
total 4124
-rwxr-xr-x 1 root root      64 Jul  27 12:01 boot.csv
-rwxr-xr-x 1 root root     155 Jul  30  2023 grub.cfg
-rwxr-xr-x 1 root root 2099056 Jul  19 12:59 grub.efi
-rwxr-xr-x 1 root root  331776 Jul  27 19:16 grubx64.efi
-rwxr-xr-x 1 root root      20 Jul  27 12:01 installed_by_sdbootutil
-rwxr-xr-x 1 root root  846096 Mar   14 07:58 MokManager.efi
-rwxr-xr-x 1 root root  934024 Mar   14 07:58 shim.efi
drwxr-xr-x 2 root root    2048 Mar   30 16:58 x86_64-efi

/boot/efi/EFI/opensuse/x86_64-efi:
total 4
-rwxr-xr-x 1 root root 3904 Jul  19 12:59 bli.mod

/boot/efi/loader:
total 4
drwxr-xr-x 2 root root 2048 Mar   30 16:58 entries
-rwxr-xr-x 1 root root   32 Jul  27 12:01 random-seed

/boot/efi/loader/entries:
total 0

/boot/efi/opensuse-tumbleweed:
total 8
drwxr-xr-x 2 root root 2048 Jul  30  2023 6.0.5-1-default
drwxr-xr-x 2 root root 2048 Jul  27 16:41 6.4.11-1-default
drwxr-xr-x 2 root root 2048 Jul  28 09:43 6.9.6-1-default
drwxr-xr-x 2 root root 2048 Jul  27 11:54 6.9.9-1-default

/boot/efi/opensuse-tumbleweed/6.0.5-1-default:
total 0

/boot/efi/opensuse-tumbleweed/6.4.11-1-default:
total 0

/boot/efi/opensuse-tumbleweed/6.9.6-1-default:
total 0

/boot/efi/opensuse-tumbleweed/6.9.9-1-default:
total 0

I'm discussing this issue on openSUSE forums
https://forums.opensuse.org/t/no-free-space-in-boot-efi-for-new-kernel-error-during-update/177234/21

arvidjaar stated that "They attempt to use sdbootutil even though the system is
setup to use grub2-efi."


You are receiving this mail because: