I just noticed after the update to kernel 6.15, my system still boots to 6.14.4. I am using sdboot. How can I ensure it will always boot to the latest version of the kernel when it is installed?
@throttlemeister Can you select the correct entry at boot (press space bar to get menu).
I know (and did), but I want it to stick. It seems there is a hardcoded entry in /boot/efi/loader/loader.conf. Which I can obviously change, but I’d like it by default just to boot the latest kernel.
What is your default snapshot? Is it advanced to the snapshot with 6.15 kernel?
@throttlemeister Just needed to confirm that first as if it was missing there is a command to add… sdbootutil -v add-all-kernels
So if you run bootctl --no-pager list | grep "6.14.5"
then use the id:
entry to set the default via sdbootutil set-default <...6.14.5.....conf>
it’s contained in the default snapshot; just not loaded by default: it defaults to the previous kernel.
I just checked my laptop, and there is does not have a default entry specified in the loader.conf. Should I just remove it? Don’t want to just remove something I did not add myself, but was put there by the system itself. That usually means a bigger headache.
@throttlemeister If it’s not booting to the 6.14.5 kernel, then it’s not set as the default? What does the output from bootctl show as the “Default Boot Loader Entry:”
Show
ls /sys/firmware/efi/efivars/Loader*
It fixed itself after I manually booted to the latest version. Next update went normal. Strange. But oh well.
This happens every now and then for unknown reasons. It is a bit annoying when it boots an older kernel and your screen is black because the Nvidia driver doesn’t work.