CentOS7 Disable Nouveau

From CDOT Wiki
Revision as of 22:50, 14 September 2015 by Andrew (talk | contribs) (Created page with '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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

  1. 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.
  2. Press Ctrl++/Ctrl+- (hold control and press + or -) until you can see the top right corner of the screen clearly, zoomed in.
  3. Open gnome-terminal
  4. Create the file /etc/modprobe.d/blacklist.conf with the following contents:
    blacklist nouveau
  5. 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.