Unable to attach screenshot, so attaching the link with space, remove the space “ibb .co/C9Zs1ZY”,
My boot page is showing 3 different kernels (5.10, 5.4), along with another kernel called “stable” which is 5.7 version (i remember installing it using a tar file provided here last year to fix some ideapad freeze issues)
Even if i boot to the 5.10 kernel, on reboot its going back to the 5.7 kernel
my grub is already set to remember the last option “GRUB_DEFAULT=saved”
and i can’t find it in the installed kernel list
~ mhwd-kernel -li ✔
Currently running: 5.10.68-1-MANJARO (linux510)
The following kernels are installed in your system:
* linux510
* linux54
Please help me get rid of it
You might have to manually delete the 5.7 files under /boot, as well as the modules (entire directory) that refers to 5.7 kernel under /lib/modules
Make sure to run sudo update-grub after you remove the files/directories.
~ ls /lib/modules ✔
5.10.2-2-MANJARO 5.10.63-1-MANJARO 5.10.68-1-MANJARO 5.4.144-1-MANJARO 5.4.148-1-MANJARO extramodules-5.10-MANJARO extramodules-5.4-MANJARO
~ ls /boot ✔
amd-ucode.img initramfs-5.10-x86_64-fallback.img initramfs-5.4-x86_64.img intel-ucode.img linux54-x86_64.kver vmlinuz-5.4-x86_64
efi initramfs-5.10-x86_64.img initramfs-linux-stable-fallback.img linux510-x86_64.kver memtest86+ vmlinuz-linux-stable
grub initramfs-5.4-x86_64-fallback.img initramfs-linux-stable.img linux510-x86_64.kver.old vmlinuz-5.10-x86_64
~ ✔
I can see some with the name stable in /boot, but nothing under /lib/modules
Delete the -stable kernels and initramfs files under /boot
What are the contents of
ls -1 /lib/modules/
~ ls -l /lib/modules ✔
total 0
drwxr-xr-x 1 root root 660 Jan 22 2021 5.10.2-2-MANJARO
drwxr-xr-x 1 root root 12 Sep 29 00:40 5.10.63-1-MANJARO
drwxr-xr-x 1 root root 524 Oct 8 13:36 5.10.68-1-MANJARO
drwxr-xr-x 1 root root 12 Sep 29 00:40 5.4.144-1-MANJARO
drwxr-xr-x 1 root root 524 Oct 8 13:36 5.4.148-1-MANJARO
drwxr-xr-x 1 root root 36 Sep 29 00:40 extramodules-5.10-MANJARO
drwxr-xr-x 1 root root 14 Sep 29 00:40 extramodules-5.4-MANJARO
Then you only need to delete the -stable kernel and initramfs files located under /boot, then run sudo update-grub.
These are the files I can spot:
initramfs-linux-stable-fallback.img
initramfs-linux-stable.img
vmlinuz-linux-stable