I used to have two kernels installed (56 and 57). At some point kernel 56 was removed with a system update (in fact kernel 56 is not installed if I check in Manjaro Settings Manager, and it can no longer be installed). However, in the grub menu at startup kernel 56 is still shown. If I run sudo update-grub I get the following:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.7-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.7-x86_64.img
Found initrd fallback image: /boot/initramfs-5.7-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.6-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.6-x86_64.img
Found initrd fallback image: /boot/initramfs-5.6-x86_64-fallback.img
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
It is not a big deal, but I’d like to remove this image of kernel 56. How can I do that?
Oops. I accidentally gave you mhwd instead of mhwd-kernel mhwd-kernel -r linux56
But yes. OK. Well … lets look in /boot/ then …
find /boot/ -type f -name "*5.6*"
Maybe pacman -Qo any files you find … to see if they are owned by any package.
If not … you can sudo rm any of those files.
Then sudo update-grub again.
If they arent owned by any package and you dont have 5.6 … yeah … they should be disposable.
PS.
I guess you can rerun the command with sudo … or just manually take a look in your efi directory. There shouldnt be anything related there… but just because it couldnt technically check it.