Installing nVidia Graphics Drivers on Deb distros

Get into pure console mode

* /etc/init.d/gdm stop/start
* apt-get update
* apt-get install binutils

Install Kernel Source

* apt-get install linux-source-2.6.12
(replace 2.6.12 with your kernel version – ‘uname -a’ or ‘uname -r’)

Install Kernel Headers

* apt-get install linux-headers-2.6.12-1 linux-headers-2.6.12-1-386

Install nVidia Drivers

* sh NVIDIA-Linux-x86-1.0-8178-pkg1.run
(get latest drivers from nVidia.com)

Finally, Reboot to get back into X.

Links:
http://laterp.net/…
http://www.linuxquestions.org/linux/…