Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clr-boot-manager not removing old kernels and filling 1GB /boot #5181

Open
2 tasks done
TraceyC77 opened this issue Mar 4, 2025 · 0 comments
Open
2 tasks done

clr-boot-manager not removing old kernels and filling 1GB /boot #5181

TraceyC77 opened this issue Mar 4, 2025 · 0 comments
Labels
Bug Something isn't working Priority: Normal Normal priority Topic: Kernel Issues or features related to the Solus Kernel

Comments

@TraceyC77
Copy link
Contributor

Please confirm there isn't an open report for this issue

  • I have searched through bug reports

Summary

I received an error during the last software removal because there was not enough space in /boot

Steps to reproduce

  1. Install both the current and LTS kernels
  2. Update the system over time (I haven't seen this error in months to be fair). Wait for 3 kernels to have been published.

Expected result

Old kernels are removed, there remains enough space to install new kernels

Actual result

[✓] Syncing filesystems                                                success  
[✓] Updating dynamic library cache                                     success  
[✗] Updating clr-boot-manager                                           failed  
  
A copy of the command output follows:  
  
[FATAL] cbm (../src/bootman/kernel.c:L740): Failed to install extra initrds /usr/lib64/kernel/initrd-com.solus-project.current.6.12.17-314: No space left on device  
[FATAL] cbm (../src/bootman/update.c:L250): Failed to install default-current kernel: ///usr/lib/kernel/com.solus-project.current.6.12.17-314  
  
  
[✗] Updating clr-boot-manager                                           failed  
  
A copy of the command output follows:  
  
[FATAL] cbm (../src/bootman/kernel.c:L740): Failed to install extra initrds /usr/lib64/kernel/initrd-com.solus-project.current.6.12.17-314: No space left on device  
[FATAL] cbm (../src/bootman/update.c:L250): Failed to install default-current kernel: ///usr/lib/kernel/com.solus-project.current.6.12.17-314

Environment

  • Is system up to date?

Repo

Unstable

Desktop Environment

Plasma

System details

Operating System: Solus 4.7
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.12-313.current (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.5 GiB of RAM
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

Other comments

Space usage on /boot

❯ df -h | rg "File|boot"
Filesystem               Size  Used Avail Use% Mounted on
/dev/nvme0n1p1           999M  984M   15M  99% /boot

Installed kernels.

❯ ll /boot/EFI/com.solus-project
total 848M
drwxr-xr-x 3 root root 4.0K Mar  3 19:51 ./
drwxr-xr-x 7 root root 4.0K Feb 25 11:06 ../
drwxr-xr-x 2 root root 4.0K Sep 16 14:06 fw/
-rwxr-xr-x 1 root root 928K Jan 10 11:02 bootloaderx64.efi*
-rwxr-xr-x 1 root root  152 Jan 10 11:02 BOOTX64.CSV*
-rwxr-xr-x 1 root root  48M Mar  3 10:19 freestanding-com.solus-project.nvidia-firmware*
-rwxr-xr-x 1 root root  67K Apr 24  2024 fwupdx64.efi*
-rwxr-xr-x 1 root root  76K Jan 10 11:02 grubx64.efi*
-rwxr-xr-x 1 root root  78M Feb  8 08:34 initrd-com.solus-project.current.6.12.12-313*
-rwxr-xr-x 1 root root  52M Feb  8 08:34 initrd-com.solus-project.current.6.12.12-313.nvidia*
-rwxr-xr-x 1 root root  77M Mar  3 10:19 initrd-com.solus-project.current.6.12.17-314*
-rwxr-xr-x 1 root root  77M Dec 18 04:56 initrd-com.solus-project.current.6.12.5-311*
-rwxr-xr-x 1 root root  52M Dec 18 04:56 initrd-com.solus-project.current.6.12.5-311.nvidia*
-rwxr-xr-x 1 root root  78M Jan 10 15:55 initrd-com.solus-project.current.6.12.9-312*
-rwxr-xr-x 1 root root  52M Jan 10 15:55 initrd-com.solus-project.current.6.12.9-312.nvidia*
-rwxr-xr-x 1 root root  44M Oct 26  2023 initrd-com.solus-project.current.6.5.9-262.nvidia*
-rwxr-xr-x 1 root root  68M Oct 23 06:28 initrd-com.solus-project.lts.6.6.58-258*
-rwxr-xr-x 1 root root  69M Feb  8 08:34 initrd-com.solus-project.lts.6.6.75-264*
-rwxr-xr-x 1 root root  68M Mar  3 10:19 initrd-com.solus-project.lts.6.6.80-265*
-rwxr-xr-x 1 root root  13M Feb  8 08:34 kernel-com.solus-project.current.6.12.12-313*
-rwxr-xr-x 1 root root  14M Mar  3 10:19 kernel-com.solus-project.current.6.12.17-314*
-rwxr-xr-x 1 root root  13M Dec 18 04:56 kernel-com.solus-project.current.6.12.5-311*
-rwxr-xr-x 1 root root  13M Jan 10 15:55 kernel-com.solus-project.current.6.12.9-312*
-rwxr-xr-x 1 root root  12M Oct 23 06:28 kernel-com.solus-project.lts.6.6.58-258*
-rwxr-xr-x 1 root root  13M Feb  8 08:34 kernel-com.solus-project.lts.6.6.75-264*
-rwxr-xr-x 1 root root  13M Mar  3 10:19 kernel-com.solus-project.lts.6.6.80-265*
-rwxr-xr-x 1 root root 829K Jan 10 11:02 mmx64.efi*

There are 3 LTS kernels, 4 current kernels and their respective nvidia files. There should only be 2 of each. The oldest are from October, so there have been many successful boots since then. The oldest kernels should have been automatically removed.

(I notice the nvidia file for 6.5.9, not sure why that's still there. Deleted that manually since clr-boot-manager didn't know about it)

@TraceyC77 TraceyC77 added the Bug Something isn't working label Mar 4, 2025
@github-project-automation github-project-automation bot moved this to Triage in Solus Mar 4, 2025
@TraceyC77 TraceyC77 moved this from Triage to Ready in Solus Mar 4, 2025
@TraceyC77 TraceyC77 added Priority: Normal Normal priority Topic: Kernel Issues or features related to the Solus Kernel labels Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Priority: Normal Normal priority Topic: Kernel Issues or features related to the Solus Kernel
Projects
Status: Ready
Development

No branches or pull requests

1 participant