How do i switch kernels with the custom GRUB style?

The Problem


So the problem is, basically, i cannot figure out how to switch kernels within GRUB. I have 3 kernels WITH headers:

  • linux | linux-headers;
  • linux-lts | linux-lts-headers;
  • linux-zen | linux-zen-headers.
    How do i switch between kernels within GRUB?

Doesn’t the Grub boot menu show up at boot from which you could choose the kernel you want to boot?

yes, the problem is that it only has 2 options: boot to endeavour os with Linux linux AND fallback initframs, it doesn’t have the rest

Could you run the following command:

sudo grub-mkconfig -o /grub/boot/grub.cfg

?

This should regenerate grub.cfg and add the other kernels to Grub boot menu.

Command output:

/usr/bin/grub-mkconfig: line 262: /grub/boot/grub.cfg.new: No such file or directory

There is typo in the command. It should be:

sudo grub-mkconfig -o /boot/grub/grub.cfg
3 Likes

Sorry @SaucyBoyo :man_facepalming:t5:

Thanks @dalto :bowing_man:t5:

It’s fine :smile:
Thanks @dalto ! This worked.

2 Likes

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