During installation, I chose only the LTS kernel by itself. Now I went ahead and installed the mainline kernel, so I can have two kernels in case of a disaster scenario, but when I reboot I don’t see the option to boot from the mainline kernel.
How do I update the systemd bootloader to recognize it?
Furthermore, how do I make sure the mainline kernel is the default highlighted choice during reboot so that if I don’t manually select the kernel I want, it will auto select the mainline during its countdown (this is assuming it selects LTS for whatever reason).
You can edit your loader.conf with sudo nano /efi/loader/loader.conf
by the default you type @saved
now it (/efi/loader/loader.conf) looks something like this
default @saved
timeout 5
console-mode auto
reboot-for-bitlocker 1
To save your edit press Strg/Ctl+O then press ENTER and it will be saved. To exit nano press Strg/Ctl+X to exit.
What is does is that it remembers the last chosen entry. The downside is that you have to select it again when a new kernel is installed that replace the old entry.
Edit:
Maybe there are better ways to do it. It is working for me like 3+ months now
If it looks the same please give sudo reinstall-kernels and reboot after that.
If it not looks like the screenshot please it and press Execute now a console window will open. Wait for it to finish the installation. Now reboot and you will see (normally) the new entries.