RedHat7系安装显卡驱动

版权声明:本文为博主原创文章,转载请注明【转载自皓月如我的CSDN博客】,并贴出原始链接地址。 https://blog.csdn.net/fm0517/article/details/88827661
  1. 修改/lib/modprobe.d/dist-blacklist.conf 文件,以阻止 nouveau 模块的加载
    方法: 添加blacklist nouveau,注释掉blacklist nvidiafb

#blacklist nvidiafb
blacklist nouveau
options nouveau modeset=0

  1. 重新建立initramfs image文件
[root@localhost ~]# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
[root@localhost ~]# dracut /boot/initramfs-$(uname -r).img $(uname -r)
  1. 重启
[root@localhost ~]# reboot
  1. 安装驱动,
[root@localhost ~]# init 3
[root@localhost ~]# chmod +x NVIDIA-Linux-x86_64-346.35.run
[root@localhost ~]# ./NVIDIA-Linux-x86_64-346.35.run

注:卸载命令./NVIDIA-Linux-x86_64-346.35.run --uninstall

猜你喜欢

转载自blog.csdn.net/fm0517/article/details/88827661