LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-26-2004, 09:03 AM   #1
LQ Newbie
Registered: Jan 2004
Location: Germany
Distribution: SuSE Linux 9.0
Posts: 12

Rep: Reputation: 0
How to install nVidia drivers + new kernel?

hi there, i've got a problem:

i wanted to install the new nVidia driver (yes, i was root, and yes, i switched to runlevel 3) on my SuSE 8.2 system. Then it said something about "precompiled kernel not found" or "kernel source not found", can't remember (It seemed that the installer needed the kernel source to compile a driver that fits my system, right?). So, what to do now? Shall I update my kernel? And if yes, how? (i have kernel 2.4.something, i think. i don't know exactly, where can i look that up?)
Old 01-26-2004, 09:08 AM   #2
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
To find out what kernel version you're running:
uname -r

For the 2.4 kernel, the binary installers from nvidia should work fine. You do need to install the kernel headers for the version you're running, however. If you compiled the kernel yourself, what's in usr/src/linux should do (I think). Otherwise, you'll need to get the headers for the precompiled kernel you're running, which depends on distro, version, etc.

If you want to upgrade to the 2.6 kernel, which I'd recommend, the nvidia drivers have to be patched and there are a bunch of other things you'll have to do. Here's a couple links to get you started:

nvidia driver compilation (debian specific, but gives the point)

kernel upgrade guide:

Old 01-26-2004, 10:58 AM   #3
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL
Distribution: Gentoo / Funtoo
Posts: 6,926

Rep: Reputation: 126Reputation: 126
Re: How to install nVidia drivers + new kernel?

Originally posted by Jojo87
hi there, i've got a problem:

i wanted to install the new nVidia driver
Q: How do I tell if I have my kernel sources installed?

A: If you are running on a distro that uses RPM (Red Hat, Mandrake, SuSE,
etc), then you can use RPM to tell you. At a shell prompt, type:

`rpm -qa | grep kernel`

and look at the output. You should see a package that corresponds
to your kernel (often named something like kernel-2.4.18-3)
and a kernel source package with the same version (often named
something like kernel-source-2.4.18-3). If none of the lines seem
to correspond to a source package, then you will probably need to
install it. If the versions listed mismatch (ex: kernel-2.4.18-10 vs.
kernel-source-2.4.18-3), then you will need to update the kernel-source
package to match the installed kernel. If you have multiple kernels
installed, you need to install the kernel-source package that
corresponds to your *running* kernel (or make sure your installed
source package matches the running kernel). You can do this by
looking at the output of 'uname -r' and matching versions.

Also, you may want to read this thread
and do some searching here in LQ. Plus, Nvidia has an excellent forum, also.
It seems that some of these commercial distros have some strange ways of
doing things, such as placement of files, and naming conventions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot install NVidia drivers after kernel upgrade MattZ Linux - Newbie 10 08-23-2005 09:58 PM
nvidia drivers and kernel 2.6.1 mikejedw Linux - Hardware 20 03-02-2004 09:23 AM
Kernel 2.6.3 + nVidia drivers wiBo Linux - General 2 02-26-2004 04:35 PM
Install nVidia drivers? (Need Kernel source!) Jojo87 Linux - Newbie 6 02-15-2004 01:32 AM
How do I get "Kernel Header" files so I can install nVidia drivers Stevetgn Linux - Newbie 4 01-14-2004 06:57 PM

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration