Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-12-2005, 10:33 PM   #1
Registered: Nov 2003
Distribution: rh9
Posts: 9

Rep: Reputation: 0

I've just installed Debian (testing version). But when i try to install the nvidia drivers (module-assistant auto-install nvidia) it says it needs the kernel headers for my current kernel version (2.4.27-1), but the only packages i can find using apt-cache search... is 2.4.27-2. Any tips?

Old 03-13-2005, 01:29 AM   #2
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Just install the kernel source. Unzip it in /usr/src
cd /usr/src
ln -s /usrc/src/kernel-source-2.4.27 linux
Copy your config from /boot for your current kernel, name it .config (copy into the kernel source directory)
cd /usr/src/linux
make mrproper (for some reason i'm not sure if this is right, but is what I have written down previously, maybe just 'make clean' would do)
make oldconfig
make prepare ( this is for 2.6 kernels and installs the headers. I think for 2.4 you just need to make oldconfig and you should have headers.)
This is what I did to get the headers to compile slmodem for my machine. (befor e I compiled a new kernel) Unfortunately I continue to kill my brain with beer and its all a little foggy exactly how I did it. At least this way you dont have to compile a whole kernel, (well you sort go almost all the way) but you could always do the whole thing anyway and kill off all the modules that you dont need. Am sure someone will come up with something if this doesnt work for ya.
good luck

Last edited by short101; 03-13-2005 at 01:33 AM.
Old 03-14-2005, 08:54 AM   #3
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Rep: Reputation: 30
i have the same problem

i just install the kernel image of 2.4.27-2
then 2.4.27- 2 headers

apt-get install kerne** image 2.4.27-2

apt-get install kerne** head 2.4.27-2

u r nvidia wil fine


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
2.4 386 kernel has MANY more devices than the 2.6 amd64-k8 kernel. Why? halfpower Linux - General 5 10-14-2005 07:44 AM
kernel 2.6.8-2-386 or 2.6.8-2-686 cccc Debian 7 08-22-2005 07:51 AM
kernel 2.6.8-2-386 vs Hotplug conflict farpoint Debian 15 05-07-2005 06:41 PM
nVidia + 2.6.7-1-386 kernel PhuckFonix Debian 4 11-05-2004 06:57 AM
386/kernel question Jeffrey Linux - General 6 03-07-2001 12:55 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:43 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