红联Linux门户
Linux帮助

RHEL 5.4显卡驱动

发布时间:2010-04-14 09:28:04来源:红联作者:xiaoangie
我在安装Redhat enterprise 5.4 时由于linux无法识别我的显卡(Geforce GTX 260),所以无法以图形化方式安装,只有在文本界面下安装。安装完毕后无法启动X windows,所以我到nvidia官方网站下载驱动程序,文件名为NVIDIA-Linux-86_64-195.36.13-pkg2.run,我已root身份登入后,运行如下命令:
sh NVIDIA-Linux-86_64-195.36.13-pkg2.run,结果弹出如下错误,请高手指点:

ERROR:unable to find the kernel source tree for the currently running
kernel.Please make sure you have installed the kernel source files
for your kernel and that they are properly configured;On red hat
linux systems,for example,be sure you have the 'kernel-source' or
'kernel-devel' RPM install.If you know the correct kernel source files
are installed,you may specify the kernel source path with the
'--kernel-source-path'command line option
麻烦大家了,我需要x windows,我在linux下做IC设计。另外前几天我无法安装RHEL 5.4的问题解决了,原来是linux无法识别我的主板IDE控制器,所以无法光盘安装,后来我硬盘安装了,可是又出现无法识别显卡的问题,先谢谢大家了。
文章评论

共有 3 条评论

  1. xiaoangie 于 2010-04-14 18:24:07发表:

    我下的不是压缩包,就是上面那个后最为.run的文件,nvidia官方网站说执行sh命令安装,没有其他文件。

  2. calm001 于 2010-04-14 16:15:07发表:

    首先你的登录用户是单用户模式sh,root用户应该是su。
    你直接输入文件名NVIDIA-Linux-86_64-195.36.13-pkg2.run就可以执行安装程序了吗?
    你从网上download的driver包是个压缩包吗?除了这个文件之外还有其他的文件吗?比如readme或者release note 什么的,有时候可以从他们里面找到安装信息的。
    还有从 error的提示来看,可能你下的这个driver与你的操作系统的kernal 版本不一致啊。

  3. 绿色圣光 于 2010-04-14 10:56:02发表:

    yum install linux-headers-`uname -r`
    试试