To remove / disable nouveau drivers from kernel initramfs
## Backup old initramfs nouveau image ##
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
## Create new initramfs image ##
dracut /boot/initramfs-$(uname -r).img $(uname -r)
##Reboot
init 6
To blacklist the nouveau drivers:
Make changes in the /etc/default/grub as follows:
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 rhgb quiet rdblacklist=nouveau"
then, update the grub2 config file as follows:
grub2-mkconfig -o /boot/grub2/grub.cfg