ERROR: The Nouveau kernel driver is currently in use by your system. This  driver is incompatible with the NVIDIA driver, and must be disabled before proceeding.

Please consult the NVIDIA driver README and your Linux distribution's documentation

 for details on how to correctly  disable the Nouveau kernel driver.


解决办法:

关闭Nouveau

[root@localhost~]# cd /etc/modprobe.d

如果没有blacklist.conf文件,则需要创建

[root@localhostmodprobe.d]# touch blacklist.conf

编辑blacklist.conf文件,在其中添加blacklist nouveau

[root@localhostmodprobe.d]# gedit blacklist.conf

使用dracut重新建立 initramfs p_w_picpath file

[root@localhostmodprobe.d]# sudo mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname-r).img.bak

重新建立the initramfs file

[root@localhostmodprobe.d]# sudo dracut -v /boot/initramfs-$(uname -r).img $(uname -r)

I:*** Including module: i18n ***

I:*** Including module: drm ***

I:*** Including module: plymouth ***

I:*** Including module: kernel-modules ***

I:*** Including module: resume ***

I:*** Including module: rootfs-block ***

I:*** Including module: terminfo ***

I:*** Including module: udev-rules ***

I:*** Including module: biosdevname ***

I: ***Including module: systemd ***

I:*** Including module: usrmount ***

I:*** Including module: base ***

I:*** Including module: fs-lib ***

I:*** Including module: shutdown ***

I:*** Including modules done ***

I:*** Installing kernel module dependencies and firmware ***

I:*** Installing kernel module dependencies and firmware done ***

I:*** Resolving executable dependencies ***

I:*** Resolving executable dependencies done***

I:*** Pre-linking files ***

I:*** Pre-linking files done ***

I:*** Hardlinking files ***

I:*** Hardlinking files done ***

I:*** Stripping files ***

I:*** Stripping files done ***

I:*** Creating p_w_picpath file ***

I:*** Creating p_w_picpath file done ***

I:Wrote /boot/initramfs-3.12.11-201.nk.1.x86_64.img:

I:-rw------- 1 root root 9102571 12 22 09:37/boot/initramfs-3.12.11-201.nk.1.x86_64.img

输入命令reboot重新启动

[root@localhostmodprobe.d]# reboot

然后再安装NVIDIA driver