CentOS7 Disable Nouveau
In some of our labs (e.g. T404X) the machines have a different video card which doesn't work with the default drivers in CentOS7. If your system boots but everything looks blurry: follow these steps to fix it.
- Boot your system normally and log in. You won't be able to read anything but you should be able to log in knowing your credentials.
- Press Ctrl++/Ctrl+- (hold control and press + or -) until you can see the top right corner of the screen clearly, zoomed in.
- Open gnome-terminal
- Create the file
/etc/modprobe.d/blacklist.confwith the following contents:
- Run the following two commands:
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
This will make sure that your initrd doesn't have the nouveau driver in it. That's the driver that's causing a problem on these machines. Once you reboot your system should look fine.