-   Linux - Newbie (
-   -   Modules & custom kernels (

adrianlarsson 01-17-2007 01: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 02:03 PM

Yes, read the Release-Notes Section 8.7. Building Only Kernel Modules

su -c 'yum install kernel-devel'

pljvaldez 01-17-2007 02: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 01:41 PM.