How can I change the listed order of kernels on boot screen?


I installed the LTS kernel alongside the mainline kernel, and I am wondering how can I change the order of the available kernels list on the boot screen? I am asking this because when I boot up, if I don’t touch the keyboard and manually select the mainline kernel, it auto selects the first listed kernel which is the LTS.

Are you using grub or systemd-boot?

The default option which I believe is systemd-boot

You can’t easily change the order but you can change the default.

The wiki explains how to do it.

Let us know if that doesn’t work for you.