How to Select Kernel-latest as VM Kernel?

I changed the default kernel, now after updating today I notice that the newest kernel is not the default in global settings. How can I set it to always choose the latest one?

1 Like

sudo qubes-dom0-update kernel-latest-qubes-vm should update as default
on new release.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

1 Like

I’m a little puzzled, how can I verify that behavior? If I set my default kernel to 6.6.77 and run sudo dnf reinstall kernel-latest-qubes-vm, should it set the newest kernel as default?

1 Like

v6.6.x is a non-latest / longterm kernel (provided by the kernel-qubes-vm package rather than kernel-latest-qubes-vm). Kernel package updates will only change the configured VM default kernel if it’s already of the same type. So to switch from non-latest to latest you have to manually set a latest kernel as the VM default kernel once. From then on any further kernel package updates will do it automatically.

2 Likes