Grub not using latest kernel

Hi all. Newb here.

I have a problem with GRUB… I think.
I installed 6.0, but my system keep booting in 5.19 if I do not specifically change it every boot.
mhwd-kernel -li only shows 5.15 installed, but 5.19 and 6.0 is installed as well when I enter GRUB.
GRUB shows all 3, but automatically boots in 5.19

Manjaro KDE with BTRFS
Thank you

 sudo grub-install --recheck --no-rs-codes
[sudo] password for sarge: 
Installing for x86_64-efi platform.
Installation finished. No error reported.
 sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-linux519-tkg-pds
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux519-tkg-pds.img
Found initrd fallback image: /boot/initramfs-linux519-tkg-pds-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Found linux image: /boot/vmlinuz-linux60-tkg-pds
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux60-tkg-pds.img
Found initrd fallback image: /boot/initramfs-linux60-tkg-pds-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
fgrep: warning: fgrep is obsolescent; using grep -F
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 ...
Detecting snapshots ...
Found snapshot: 2022-10-13 17:22:44 | timeshift-btrfs/snapshots/2022-10-13_17-22-44/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-10-13 17:18:33 | timeshift-btrfs/snapshots/2022-10-13_17-18-33/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-10-13 06:15:54 | timeshift-btrfs/snapshots/2022-10-13_06-15-54/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-09-28 21:00:03 | timeshift-btrfs/snapshots/2022-09-28_21-00-03/@ | weekly   | N/A                                           |
Found snapshot: 2022-07-30 10:05:29 | timeshift-btrfs/snapshots/2022-07-30_10-05-28/@ | ondemand | N/A                                           |
Found 5 snapshot(s)
Unmount /tmp/grub-btrfs.dz2RFiRLDj .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
 mhwd-kernel -li
Currently running: 5.19.15-270-tkg-pds (linux519)
The following kernels are installed in your system:
   * linux515
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT="true"

Hi,
I am running 6.0 too, but my mhwd-kernel -li shows:

mhwd-kernel -li                                                  ✔ 
Currently running: 6.0.0-1-MANJARO (linux60)
The following kernels are installed in your system:
   * linux510
   * linux519
   * linux60

… or is your output cut-off?

Nope, it is not cut off. That is all it shows, which is weird, since you can see its running 5.19.

They look like your custom kernels, not Manjaro-kernels.

Correct. From TKG

That is why mhwd is made by Manjaro and supports only Manjaro-Kernels.

Maybe you should configure Grub somewhere special that it could support your custom kernel. :man_shrugging:

2 Likes