Visit Jeremy's Blog.
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-17-2007, 12:53 PM   #1
LQ Newbie
Registered: Nov 2006
Location: Montreal
Distribution: FC6
Posts: 28

Rep: Reputation: 15
Modules & custom kernels

Hi, is it possible to install modules on a current kernel rather than creating a custom one? I seem to be missing a very important video driver module, and I don't want to have to always compile new kernels to add it whenever there are updates. Maybe there's an easier way?

Thanks for any help!
Old 01-17-2007, 01:03 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Yes, read the Release-Notes Section 8.7. Building Only Kernel Modules

su -c 'yum install kernel-devel'
Old 01-17-2007, 01:03 PM   #3
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Well, in Debian you can just download the kernel headers for the current installed kernel and then compile against the headers.

Or I can download the full source tree of the running kernel (i.e. 2.6.18 for my 2.6.18-2-686 debian kernel) and then copy the config file for my running kernel from /boot to /usr/src/linux/.config and run make oldconfig to configure the source as if I had compiled my kernel from this tree, even though I actually installed it as a binary.


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
kernel-headers and custom compiled kernels jaakkop Slackware 2 11-22-2005 11:21 AM
custom kernels... Why so hard? mm0204 Linux - Newbie 2 06-08-2005 04:09 AM
precompiled kernels & modules linuxhippy Slackware 5 03-14-2005 07:46 PM
Modules and 2.6test kernels rch Linux - General 3 11-11-2003 09:39 PM
Red Hat Update Agent for kernel updates and custom kernels SparceMatrix Linux - General 5 09-03-2002 04:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

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