I followed this tutorial and upgraded to 42 from 41
It’s upgraded successfully, but I found there’s still an old unused kernel in /boot , the kernel 6.12.6-200.fc41 can’t be listed by rpm -qa kernel command, how to delete it?
I followed this tutorial and upgraded to 42 from 41
It’s upgraded successfully, but I found there’s still an old unused kernel in /boot , the kernel 6.12.6-200.fc41 can’t be listed by rpm -qa kernel command, how to delete it?
You use the dnf command to remove the old kernels, for example
dnf remove kernel-core-6.14.5-300.fc42.x86_64
Do rpm -q kernel-core
to get a list of installed kernels.
But you really don’t need to remove them. After the next kernel update, the oldest kernel will automatically be removed.
Sometimes the old kernel will boot when a newer kernel fails. Keeping 2 old kernels plus a “rescue” kernel is “belt and suspenders and more”.