LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Modules & custom kernels (http://www.linuxquestions.org/questions/linux-newbie-8/modules-and-custom-kernels-520219/)

adrianlarsson 01-17-2007 12:53 PM

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!

Lenard 01-17-2007 01:03 PM

Yes, read the Release-Notes Section 8.7. Building Only Kernel Modules
http://fedora.redhat.com/docs/release-notes/

su -c 'yum install kernel-devel'

pljvaldez 01-17-2007 01:03 PM

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.


All times are GMT -5. The time now is 07:24 PM.