Automatic start Kernel 5.8.1

In addition to the current kernel 5.8.1 I have installed the kernel 5.4 LTS as fallback. What can I do to avoid having to select the 5.8.1 kernel every time I reboot? I want EOS to always start automatically with kernel 5.4 LTS is only intended as a fallback!

In /etc/default/grub:

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"

and re-generate the config. Then, it will save the kernel you pick and use it as the default next time.

9 Likes

Thank You @jonathon! :+1:

1 Like

@jonathon, can I do this by selecting the respective entry instead of GRUB_DEFAULT=saved, e.g. GRUB_DEFAULT=3 for the 3rd entry from above?

Yes, just make a note for when you change kernels and it doesn’t do what you expect any more. :wink:

2 Likes

I could be wrong, but I have a vague recollection that the order starts with 0. You could perhaps look it up.

1 Like

That’s correct. Here’s a link I use to remind myself of the order:

https://wiki.archlinux.org/index.php/GRUB/Tips_and_tricks#Multiple_entries

That’s not intended as a RTFM—but, I hope it helps.

3 Likes