LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   lib/modules/ question (https://www.linuxquestions.org/questions/linux-general-1/lib-modules-question-145900/)

jaqkar 02-14-2004 01:02 AM

lib/modules/ question
 
Hi

I am trying to install and compile kernel 2.6.2, from documentation I read I need to install the mod-utils. When I do I get the following error:
[root@localhost module-init-tools-0.9.13]# ./generate-modprobe.conf /etc/modprobe.conf
modprobe: Can't open dependencies file /lib/modules/2.4.18-14/modules.dep (No such file or directory)

In my /lib/modules there is no 2.4.18-14 dir but there is a 2.6.2 dir.

Please help.

hiteshmaisheri 02-14-2004 01:13 AM

hey can u just give more info regarding ur present kernel and when u got this error ...to get a better picture about the problem

whansard 02-14-2004 02:23 AM

did you delete your modules for your currently running kernel?
they should be in /lib/modules/<kernelversion>

anyway, you should be able to compile the new kernel whether you have those modules or not.

hiteshmaisheri 03-13-2004 10:58 AM

just create a directory in lib/modules/ <version number>... and then give make install command in the src directory after compiling all the modules using the command make


All times are GMT -5. The time now is 09:13 PM.