Grub Boot Menu select older kernel as default

Hi all,
I am using qubes 4.1
Every time I boot my computer I have to select an older kernel (5.4) in the grub menu as I experience tearing on the LUKS screen with the newer kernels. How do I specify to boot that older kernel as the default, so I don’t have to do that each time? I thought that it would remember the last kernel I booted but I guess not?

Any help would be appreciated

Thanks
H

This is not a Qubes-specific question. AFAIK Qubes is using a standard Grub bootloader, so you should search for how to make a specific kernel default in Grub.

I’m no expert, but I found this: linux - Set default kernel in GRUB - Unix & Linux Stack Exchange.

1 Like

Ah ok no worries, that’s exactly what I was looking for thanks @fsflover !

Cheers
H

in /etc/default/grub change

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

then save.
With this settings the last selected value is kept for the next boot.

  • if
    uefi sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grubx64.cfg
    bios sudo grub2-mkconfig -o /boot/grub2/grub.cfg

fyi, you should open thread under 4.1 category so no need to tell which qubes version you use.