Just in case you don't have it already, install 'nano' the console text editor:
Code:
sudo dnf install nano
nano is pretty easy to use, as the shortcuts to use are shown at the bottom of the screen.
Let's prevent the kernel from loading nouveau when it probes your hardware on boot:
Code:
sudo nano /etc/modprobe.d/nouveau_blacklist.conf
This will open a new file with the name nouveau_blacklist.conf. Just put this text in it:
And save and exit (press CTRL+X and type Y when prompted to save).
We'll also have to edit grub's (boot loader) configuration:
Code:
sudo nano /etc/default/grub
At the line that starts with GRUB_CMDLINE_LINUX="... type at the end of it, before the end quotations ":
Code:
rd.driver.blacklist=nouveau
Then save and exit
Now apply grub's configuration. If you have a system _without_ UEFI, do:
Code:
sudo grub-mkconfig -o /etc/grub2.cfg
If you have a system _with_ UEFI, do:
Code:
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
Now the final test, reboot. In your new boot type:
Code:
lsmod | grep nouveau
if it comes empty, nouveau is no longer loaded in this and future boots of your system.