centos 6.0安装NVIDIA显卡驱动问题

遇到Nouveaukerneldriverisinusedbysystem错误到解决方法装显卡驱动请在字符界面下安装

1)Blacklistthenouveaudriver:Addbelowlineto/etc/modprobe.d/blacklist.conffile

blacklistnouveau

2)Rebuildtheinitramfsimagefileusingdracut:

*Backuptheinitramfsfile

$sudomv/boot/initramfs-$(uname-r).img/boot/initramfs-$(uname-r).img.bak

*Rebuildtheinitramfsfile

$sudodracut-v/boot/initramfs-$(uname-r).img$(uname-r)

3)Rebootthesystemtorunlevel3(withoutgraphics)

4)Checkthatnouveaudriverisnotloaded

$lsmod|grepnouveau

5)RuntheNVidiadriverpackage

$sudo./NVIDIA-Linux-x86_64-195.36.15-pkg2.run

Abovecommandwillcreatexorg.conffilein/etc/X11directorywhichisresponsibletouseNVidiadriverinX.

6)RestartthesystemandNVidiadriverwillbeusednow.

Note1:Ifnouveaudriverisloadedinstep4,thenfollowanyofthebelowsteptopreventtheloadingofthedriver

**Addbelowlinetokernelparameteringrubwhilerebootingthesystem

rdblacklist=nouveau

**Renamethenouveaudriverfile

$sudomv/lib/modules/$(uname-r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko/lib/modules/$(uname-r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko.txt

Note2:IfakernelupdateisinstalledthenreruntheNVidiapackageagaintorebuildtheNVidiadrivermoduleagainstthenewkernel.

相关推荐