Where to add kernel parameter?

My laptop requires the kernel parameter i915.enable\_psr=0, otherwise my screen will flicker.
This normally should be added to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

But in this file there is no DEFAULT line but two GRUB_CMDLINE_LINUX entries.
I’ve tried adding the parameter to this line and run sudo grub2-mkconfig -o /boot/grub2/grub.cfg\ but it didn’t work after reboot.

Where am I supposed to add this parameter in Qubes?
here is described the same solution but for me it doesn’t work…

Manually adding the parameter while booting (Pressing e in GRUB) does work.

If you use EFI then you need to run this command:
sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg

1 Like

The answer is in the next post

And if that doesn’t work then do this

And then rebuild initd:
sudo dracut /boot/initramfs-5.x.x.fc32.qubes.x86_64.img --force