Best way to remove "not-installed" kernel 5.6

I noticed references to kernel 5.6 when updating. I looked for it, and it’s there:

[dmn@Sydney boot]$ ls | grep 5.6
initramfs-5.6-x86_64-fallback.img
initramfs-5.6-x86_64.img
vmlinuz-5.6-x86_64

But, checking installed kernels with mhwd-kernel -li, only the 5.10 kernel is seen as installed:

[dmn@Sydney boot]$ mhwd-kernel -li
Currently running: 5.10.15-1-MANJARO (linux510)
The following kernels are installed in your system:    
  • linux510

What is the best way to remove the 5.6 packages? It’s not shown in the Manjaro Settings Manager, Kernel Section.

I had the same problem. It was solved here but please ensure twice that that kernel is not installed with the mhwd-kernel --listinstalled command before you delete a kernel that way or you’ll end up with an unbootable system!

Thanks. That validates what I was considering. I removed the three files shown in the original post from /boot, then updated grub.

Note to others: Don’t do this if the kernel is still shown as installed in the manager.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.