Installed Kernel keeps missing in GRUB

Hi Manjaronies,

I’m dual booting Manjaro and Windows through a grub boot-loader that (should be) owned by Manjaro. I’d like to try the newer LTS Kernels, changing from my 5.15 LTS (Running, Installed) to 6.6 LTS (Installed)

Problem: none of the installed Kernels except 5.10 and 5.15 are showing in the Advanced Options Grub boot menu.

Following this thread, this thread and this thread I’ve gathered some info. As shown, I installed the newer Kernels:

mhwd-kernel --listinstalled
Currently running: 5.15.185-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux510
   * linux515
   * linux612
   * linux66

sudo grub-install --recheck --no-rs-codes runs with no errors but the the 6.X Kernels keep missing in the Grub Boot - Advanced Options.
update-grub is missing from my system, command not found.

The grub entries seem to stay the same:

awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg
Manjaro Linux
Manjaro Linux (Kernel: 5.15.114-2-MANJARO x64)
Manjaro Linux (Kernel: 5.15.114-2-MANJARO x64 - fallback initramfs)
Manjaro Linux (Kernel: 5.10.181-2-MANJARO x64)
Manjaro Linux (Kernel: 5.10.181-2-MANJARO x64 - fallback initramfs)
Windows Boot Manager (on /dev/nvme1n1p1)
UEFI Firmware Settings

But the newer Kernels are present in /boot/:

ls -lah /boot/
total 428M
drwxr-xr-x  5 root root 4,0K 25. Jun 14:37 .
drwxr-xr-x 18 root root 4,0K 11. Jun 10:40 ..
drwx------  4 root root 4,0K  1. Jan 1970  efi
drwxr-xr-x  6 root root 4,0K 11. Apr 11:40 grub
-rw-------  1 root root  44M 23. Jun 15:23 initramfs-5.10-x86_64-fallback.img
-rw-------  1 root root  12M 23. Jun 15:23 initramfs-5.10-x86_64.img
-rw-------  1 root root  52M 23. Jun 15:23 initramfs-5.15-x86_64-fallback.img
-rw-------  1 root root  12M 23. Jun 15:23 initramfs-5.15-x86_64.img
-rw-------  1 root root 115M 23. Jun 15:33 initramfs-6.12-x86_64-fallback.img
-rw-------  1 root root  57M 23. Jun 15:32 initramfs-6.12-x86_64.img
-rw-------  1 root root  66M 25. Jun 14:37 initramfs-6.6-x86_64-fallback.img
-rw-------  1 root root  15M 25. Jun 14:36 initramfs-6.6-x86_64.img
-rw-r--r--  1 root root  13M 12. Mai 19:56 intel-ucode.img
-rw-r--r--  1 root root   23  2. Mai 09:36 linux510-x86_64.kver
-rw-r--r--  1 root root   23  5. Jun 08:04 linux515-x86_64.kver
-rw-r--r--  1 root root   22 19. Jun 17:49 linux612-x86_64.kver
-rw-r--r--  1 root root   21 19. Jun 17:50 linux66-x86_64.kver
drwxr-xr-x  2 root root 4,0K 11. Apr 11:41 memtest86+
-rw-r--r--  1 root root 9,5M 11. Jun 10:42 vmlinuz-5.10-x86_64
-rw-r--r--  1 root root  11M 23. Jun 15:23 vmlinuz-5.15-x86_64
-rw-r--r--  1 root root  14M 23. Jun 15:32 vmlinuz-6.12-x86_64
-rw-r--r--  1 root root  13M 25. Jun 14:36 vmlinuz-6.6-x86_64

What might I be missing? It seems like the only thing needed to do is to properly update Grub. Cheers :slight_smile:

It’s strange that this is the case, but the package to install to have this command available has the same name:
update-grub

sudo pacman -Syu update-grub

All this does is run the command:
sudo grub-mkconfig -o /boot/grub/grub.cfg
so you could use that command instead.

Prior to that, recreate the initrds for all installed kernels:
sudo mkinitcpio -P

1 Like

Hi @s2458588,

That’s a new one, I like it!

Anyway, I recommend using the install-grub script from the package manager. It can b e found in the core repository:

$ pamac search --repos install-grub
install-grub  2:2.12.r292.g73d1c959-1 [Installed]                           core
    GNU Grub (2) Install Script on Updates

So can be installed using:

pamac install install-grub

And then update your grub using:

sudo install-grub

Hope this helps!

1 Like
sudo pacman -Syu update-grub
1 Like

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