Sunday, February 24, 2013

Install NVIDIA Driver Backtrack 5

Install NVIDIA Driver Backtrack 5


Before install, make sure you've been downloaded NVIDIA Driver. If not download here nvidia.com.
So, let's begin, Internet Connection Needed

First you must install kernel sources, to know your kernel version type this in terminal:

uname -r

I have

2.6.38

Then, use apt-get install :


apt-get install linux-source-2.6.38


or

apt-get install linux-source-'uname-r'

next, go to /usr/src/ with :

cd /usr/src

see what inside :

ll or ls

You must have :

linux-source-2.6.38.tar.bz2

we need to unpack that file :

tar -xvf linux-source-2.6.38.tar.bz2

look again what inside,  you must have :


drwxr-xr-x 25 root root weight date linux-source-2.6.38/
-rw-r--r--  1 root root weight date linux-source-2.6.38.tar.bz2

Next you need to configure :

cd linux-source-2.6.38
make config


or for GUI :

make menuconfig

Now, let's Compile the source (This will take much time, so be patient) :

type this on your source-directory

make

once, done type

make install

Now you can install nvidia driver, but before you install you'll need to close your Xserver session by pressing :

CTRL+ALT+F1

after you entered first console, you need to press  :

CTRL+C

and Xserver will close.

Now for the main part, Installing NVIDIA Driver  (You need to enter your kernel source directory):


sh NVIDIA-Linux-x86-260.19.44.run --kernel-source-path /usr/src/linux-source-2.6.38

Now you've you NVIDIA driver installed.

If you get problem just ask me.

0 comments:

Post a Comment