Mhwd-kernel -li shows one kernel,5.10 but on grub it shows 3 5.10 with 5.8 and 5.7

extra kernel in grub
mhwd-kernel -li
shows one kernel,5.10 but on grub it shows 3 5.10 with 5.8 and 5.7

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/Tela/theme.txt
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.7-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.7-x86_64.img
Found initrd fallback image: /boot/initramfs-5.7-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Found

Hi @Bearbobs,

I suggest you install another kernel, for example 5.4:

sudo mhwd-kernel --install linux54

Then reboot, and see what happens at boot.

It’s a good idea to keep 2 kernels anyway, so that if something goes wrong with one, there’s always another one you can use.

1 Like

Adding to what @Mirdarthos said, remove unneeded/unsupported kernels:

sudo pacman -Rs linux57 linux58

There are remnants of old kernels in /boot - remove them manually:

$ sudo rm /boot/vmlinuz-5.[78]-x86_64 /boot/initramfs-5.[78]-x86_64.img
$ sudo update-grub
1 Like

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