具體錯誤:
-> Unable to determine if Secure Boot is enabled: No such file or directory
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA GPU(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.
是不是莫名其妙?恨不得把電腦砸了了。
經(jīng)過一番搜索,終于找到了解決辦法:
yum install -y "kernel-devel-uname-r == $(uname -r)"
重啟后再安裝,萬事大吉!
有人就奇怪,這么神奇的辦法,誰發(fā)明的?
Centos安裝Nvidia驅(qū)動解決內(nèi)核版本不匹配問題_Man in Himself的博客-CSDN博客文章來源:http://www.zghlxwxcb.cn/news/detail-539740.html
fedora - yum installs kernel-devel different from my kernel version - Unix & Linux Stack Exchange文章來源地址http://www.zghlxwxcb.cn/news/detail-539740.html
到了這里,關(guān)于CentOS安裝nvidia顯卡驅(qū)動報錯:CENTOS unable to load the kernel module ‘nvidia.ko‘/Secure Boot is enable的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!