Reinstall Nvidia Driver (February 09, 2008)
For those of you, who use the original NVIDIA display driver and have to reinstall it with every kernel update: Here is a little bashscript for your convenience.
#!/bin/bash sudo /etc/init.d/kdm stop sudo chvt 1 sudo sh ~/Downloads/NVIDIA-Linux-x86-*.run --ui='none' -aNq sudo /etc/init.d/kdm start sudo chvt 7
Save it e.g. as
~/.bin/nv_reinst.sh, make it executable (
chmod +x ~/.bin/nv_reinst.sh). Then put your NVIDIA driver (only the newest version please) into
~/Downloads/ (or change the path above). Now run your script.
Attention: Save all your work, since kdm will be stopped! You’ll lose all unsaved work!