I installed 6.6 LTS as a backup, and Systemd boot lists the options in alphabetical order and selects the first as the default one. That is:
6.6 <==== default
6.6 fallback
6.9 <==== What I want to be the default
6.9 fallback
But I want the newer version 6.9 (the third option in this case) to the be the default, or at it to remember my last selection. What is the best way? It seems that I can hard-code the default name in the loader.conf file, but that would mean that I have to edit this file each time the kernel version changes.
How can I, with those âwildcardsâ, set it to choose the highest kernel number? I mean, I could, for now, set it to use 6.9, but if the kernel version is updated to 7.0, donât I have to modify the config again and so on for each time the version number changes?
You will never have 6.9 and 7.0 installed at the same time since that is the same package. That wildcard works for all versions of the linux kernel. When the version switches to the next version it will continue to work as long as they donât change the naming scheme.
Likewise, linux-lts is a different package which has a different naming scheme.
If memory serves me right I recall hitting âeâ just before it boots and youâre able to pick another kernel and it remembers that for the following boots.
Either there is more than just pressing e, or it did not work. When I pressed e, it shows a one-line text editor which seems to let the entryâs content. But it didnât remember the selection.