nvidia Syndicate content

warning: Creating default object from empty value in /www/htdocs/w0065fc9/milianw/modules/taxonomy/taxonomy.pages.inc on line 33.

» Reinstall Nvidia Driver

Sat, 02/09/2008 - 03:41

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.

  1. #!/bin/bash
  2. sudo /etc/init.d/kdm stop
  3. sudo chvt 1
  4. sudo sh ~/Downloads/NVIDIA-Linux-x86-*.run --ui='none' -aNq
  5. sudo /etc/init.d/kdm start
  6. 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!