I started to get out of space error a while back. As a result, the new kernels are failing to install, while the older kernels don’t seem to get removed?
Not sure what I did last time to make space, but I just got another kernel install failure, which half completed so I had to use the previous kernel to boot from.
How can I fix this and also reinstalled the failed kernel that’s now in limbo mode?
I have not really the time to engage in another case at the moment, but at a rough skim (you should provide more details, logs, outputs, etc.), I read that the issue occurs only with the kernel, which might indicate that the drive that is full is /boot ? Normally, that should not occur, unless the /boot partition has been created with (much) less space than the default, or if the kernel settings have been changed in the way that your system retains more than 3 kernels.
So, you might check if your /boot directory is full. If so, you have to either decrease the amount of kernels that are stored (default is 3; you can edit the number in the file /etc/dnf/dnf.conf in the variable installonly_limit=3), or increase the space of /boot → by default, this is ext4, and you will find resources available about how to increase the size of an ext4 partition. However, that might be not possible in all circumstances, though details about this should be evaluated in a more dedicated manner if this proves necessary.
The difference in file size between 6.15.8 and 6.15.9 is caused by the new dracut version. Many additional modules are now included in sloppy hostonly mode. You can compare outputs of lsinitrd -m for 6.15.8 and 6.15.9 or 10. You could configure dracut to use strict hostonly mode to reduce file size of the initramfs.
Kernel 6.16.x also adds the new NVIDIA firmware 570.* to the old 535.*. I suspect the old one will be removed again soon. This is a transitional phase.
Right, but what I’m curious about here is why initramfs is 102 MiB for me on 6.15.9 and 6.15.10, whereas it’s more than twice that size on @devguy’s system.
“Kernel 6.16.x also adds the new NVIDIA firmware 570.* to the old 535.*. I suspect the old one will be removed again soon. This is a transitional phase.”
Is there some way I could try removing the old 535 firmware myself, without breaking things of course?