LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to build /lib/modules/2.6.30.3 ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-build-lib-modules-2-6-30-3-a-747500/)

JonesD1 08-14-2009 05:04 AM

How to build /lib/modules/2.6.30.3 ?
 
Running Debian, which was loaded as a complete system with linux-2.6.26-2-686. I downloaded and compiled linux-2.6.30.3.

When getting into the boot phase using grub, it stops with a demand for /lib/modules/2.6.30.3/modules.dep...

I do not have this directory at all.
I do have a directory /lib/modules/2.6.26-2-686

I should I create it?

Thanks you,..

bathory 08-14-2009 05:30 AM

It is created when you run
Code:

make modules_install
after compiling the kernel.
So, what steps did you follow to compile your kernel?

JonesD1 08-14-2009 08:19 AM

I followed the linux-2.6.30.3/README file.
Obviously I missed this order.

Thank you for your promptly answer.

Quakeboy02 08-14-2009 09:44 AM

Have you tried the make-kpkg method? I've never run into any of these issues that keep popping up about kernel compiles, etc. Here is my make script:
Code:

#!/bin/sh
export CONCURRENCY_LEVEL=4
make-kpkg clean
fakeroot make-kpkg --append_to_version -k8 --revision=0.1 --initrd kernel_image

Added:
The result is a .deb file.

JonesD1 08-15-2009 11:03 AM

I haven't try it. I am not familiar with it.
Looking into man page of make-kpkg gives me a hard time understanding your line.
I need to give it another try.
Anyway, I wrote it down for the future kernels to build.

Thanks you.

Quakeboy02 08-15-2009 11:08 AM

You'll find more information here. Ignore the fact that it says Etch. It's the same.

http://howtoforge.com/kernel_compilation_debian_etch

JonesD1 08-16-2009 08:26 AM

Thank you Quakeboy02, the recommended site looks promising.


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