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
(get latest drivers from

Finally, Reboot to get back into X.