On 2/22/24 19:32, home user wrote:
On 2/22/24 4:56 PM, Samuel Sieb wrote:
> 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).
No, I don't think I'm only keeping 2 kernels. I'm keeping 2 old
kernels. There's also the current kernel and the rescue.
Sorry, I misinterpreted it. You're keeping 2 *old* kernels and I read
it as keeping 2 kernels *total*. If you change the installonly_limit=3
to 2 in /etc/dnf/dnf.conf then it will only keep 1 old kernel automatically.