On 2/22/24 10:21, home user wrote:
While doing my weekly "dnf upgrade" a little while ago, I got the following pop-up at the top of the screen"
Low Disk Space on"boot" The volume "boot" has only 20.9 MB disk space remaining.
I'm only keeping 2 old kernels now. I did not do anything to shrink /boot. What has grown so much recently? What do I delete?
Here's what's in /boot:
-bash.2[~]: ls -alS /boot total 414860 -rw-------. 1 root root 116291735 Jun 1 2023 initramfs-0-rescue-70857e3fb05849139515e66a3fdc6b38.img -rw-------. 1 root root 74107910 Feb 8 12:15 initramfs-6.7.3-100.fc38.x86_64.img -rw-------. 1 root root 74063151 Feb 22 10:15 initramfs-6.7.5-100.fc38.x86_64.img -rw-------. 1 root root 74060383 Feb 15 13:15 initramfs-6.7.4-100.fc38.x86_64.img -rwxr-xr-x. 1 root root 14806856 Feb 4 17:00 vmlinuz-6.7.4-100.fc38.x86_64 -rwxr-xr-x. 1 root root 14786376 Jan 30 17:00 vmlinuz-6.7.3-100.fc38.x86_64 -rwxr-xr-x. 1 root root 14786376 Feb 16 17:00 vmlinuz-6.7.5-100.fc38.x86_64 -rwxr-xr-x. 1 root root 14329896 Jun 1 2023 vmlinuz-0-rescue-70857e3fb05849139515e66a3fdc6b38
You think you're only keeping 2 kernels, but you definitely have a full 3 kernels there (plus the rescue one). Your /boot partition is too small, but if you actually reduce it down to 2 kernels, you should be fine.
You could also probably migrate the /boot directory into /, but without having a live USB option, that might be a bit risky.