LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wrong modules directory used during boot ... (https://www.linuxquestions.org/questions/linux-software-2/wrong-modules-directory-used-during-boot-248876/)

tulear 10-29-2004 03:36 PM

Wrong modules directory used during boot ...
 
I try to recompile 2.6.8 kernel on Mandrake 10.1 official :
- I install 2.6.8.1-12mdk source
- in Makefile by default, EXTRAVERSION variable is defined (= .1-12mdkcustom) so modules directory (/lib/modules/2.6.8.1-12mdk) is not erased, modules are installed under /lib/modules/2.6.8.1-12mdkcustom
- I created the initrd.img file corresponding to this new kernel
- I modified /etc/lilo.conf to enable this 2.6.8.1-12mdkcustom kernel

My problem is that during boot, modules are not looked for under "/lib/modules/2.6.8.1-12mdkcustom" directory but under "/lib/modules/2.6.8.1-12mdk"

What did I miss ? I there anything else than EXTRAVERSION to defined ?

Thanks

Tinkster 10-29-2004 03:42 PM

After modifying lilo.conf, did you actually run lilo?


Cheers,
Tink

tulear 10-29-2004 04:50 PM

yes,
I can boot with my compiled kernel modules are loaded from the wrong directory

tulear 10-30-2004 10:50 AM

I found the solution : I needed to do "make mrproper" after source kernel installation and before compile, it works fine now


All times are GMT -5. The time now is 07:22 AM.