一、已经安装2.4内核官方驱动的方法
1);下载:
NVIDIA-Linux-x86-1.0-4620-pkg1.run;(nvidia)
http://public.pny.com/quadro/FX3000g/Linux/NVIDIA-Linux-x86-1.0-4620-pkg1.run
NVIDIA_kernel-1.0-4620-2.6.diff;(minion.de)
http://www.minion.de/files/NVIDIA_kernel-1.0-4620-2.6.diff
2);安装模块(用;root):
#;sh;NVIDIA-Linux-x86-1.0-4620-pkg1.run;--extract-only
#;cd;NVIDIA-Linux-x86-1.0-4620-pkg1
#;cd;usr/src/nv
#;patch;-p1;<;../../../../NVIDIA_kernel-1.0-4620-2.6.diff
#;ln;-s;Makefile.kbuild;Makefile
#;make;install
这是假定正在运行相关内核,否则还要进行以下操作:
#;make;KERNDIR=/usr/src/linux-2.6.0-test9;module
#;mkdir;/lib/modules/linux-2.6.0-test9/kernel/drivers/video
#;cp;nvidia.ko;/lib/modules/linux-2.6.0-test9/kernel/drivers/video
#;depmod;-a;2.6.0-test9
二、第一次安装
1);下载:
NVIDIA-Linux-x86-1.0-4620-pkg1.run;(nvidia)
http://public.pny.com/quadro/FX3000g/Linux/NVIDIA-Linux-x86-1.0-4620-pkg1.run
NVIDIA-Linux-x86-1.0-4620-pkg#.tar.gz;(minion.de)
http://www.minion.de/files/NVIDIA-Linux-x86-1.0-4620-pkg%23.tar.gz
NVIDIA_kernel-1.0-4620-2.6.diff;(minion.de)
http://www.minion.de/files/NVIDIA_kernel-1.0-4620-2.6.diff
2);安装:
*);#;sh;NVIDIA-Linux-x86-1.0-4620-pkg1.run;--extract-only
#;cd;NVIDIA-Linux-x86-1.0-4620-pkg1
#;tar;zxf;../NVIDIA-Linux-x86-1.0-4620-pkg#.tar.gz
#;cd;usr/src/nv
#;patch;-p1;<;../../../../NVIDIA_kernel-1.0-4620-2.6.diff
#;ln;-s;Makefile.kbuild;Makefile
#;cd;../../../..
#;NVIDIA-Linux-x86-1.0-4620-pkg1/nvidia-installer
也可以建立.run;文件同时运行
#;sh;NVIDIA-Linux-x86-1.0-4620-pkg0/usr/bin/makeself.sh;
--target-os;Linux;--target-arch;x86;
NVIDIA-Linux-x86-1.0-4620-pkg1;
NVIDIA-Linux-x86-1.0-4620-pkg1.run;
"NVIDIA;Accelerated;Graphics;Driver;for;Linux-x86;1.0-4620";
./nvidia-installer
#;sh;NVIDIA-Linux-x86-1.0-4620-pkg1.run
三、用脚本安装
1);下载:
nvidia-installer-1.0.2.tar.gz;(nvidia)
ftp://download.nvidia.com/XFree86/nvidia-installer/
nvidia-installer-1.0.2-2.6.diff;(minion.de)
http://www.minion.de/files/nvidia-installer-1.0.2-2.6.diff
2);安装:
#;tar;zxf;nvidia-installer-1.0.2.tar.gz
#;cd;nvidia-installer-1.0.2
#;patch;-p1;<;../nvidia-installer-1.0.2
#;make
把生成的文件放进nvidia-installer文件里
#;uname;-r
2.6.0-test9
#;sh;NVIDIA-Linux-x86-1.0-4620-pkg1.run;--kernel-name=2.6.0-test9
good;luck!
标签: