Rd.driver.blacklist=nouveau - how to save atfer adding

Hello everyone, trying to figure out some glitching problem, - im following this instead to install nvidia - Installing NVIDIA GPU Drivers - Documentation

wonder if you can help, it says - Add nouveau.modeset=0 and rd.driver.blacklist=nouveau at the end

how do i save that once ive done it??? ’ go back i guess ’ & then how would i Reload the grub environment: just using ```
grub2-mkconfig -o /boot/grub2/grubenv


Best wishes

Hi @pkjack, The instructions are using vim so you use SHIFT:wq! to save and exit.

I see that this document needs to add that instruction so I will do that now. Thank you!

Hey!! no probs, didnt even mean it like that, i just know as im new here, id guess most would know how to save that…

really happy with rocky ( apart from this gltich im trying to fix ) - laods more should use it as their desktop i think

You have there:

Reload the grub environment:
grub2-mkconfig -o /boot/grub2/grubenv

Does the grub2-mkconfig the really change behaviour depending on what filename you give with -o?
I thought that the output is always for the “grub.cfg”. If so, your command overwrites the “grubenv”.
Is that intentional?


In el9 there is an extra twist (since el9_3). The kernel options are hardcoded in each BLS entry and the grub2-mkconfig updates the options in those files only if you use --update-bls-cmdline


The alternative is to use grubby:

grubby --args="nouveau.modeset=0 rd.driver.blacklist=nouveau" --update-kernel=ALL

This should do the “correct thing” on both el8 and el9 – no file edits nor grub2-mkconfig required.

I approached the document author on this and he has pushed a fix using your method. Thank you!