Originally Posted by Bersam
Thanks for reply
I use lastest Nvidia Driver that not provided by my distro, yet. so i just want to know i have to run whole installer (NVIDIA-Linux-x86_64-173.14.34-pkg2.run) again, or there's some script that rebuild modules from NVIDIA?
You can build a kernel module for a running kernel this way:
sudo ./NVIDIA-Linux-x86_64-295.53.run -K
or if you need to build it for a new kernel:
sudo ./NVIDIA-Linux-x86_64-295.53.run -K -k KERNEL_VERSION
KERNEL_VERSION will be something like 3.4.0-ubuntu (run `uname -r` or `dpkg -l | grep linux` to see it).