[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot error messages with custom kernel

On Mon, 2007-05-21 at 22:33 +0200, David Fuchs wrote:
> hi all,
> I want to have a grsecurity enabled kernel and thus compiled my own.
> while doing so, I also removed tons of modules from the kernel config
> (drivers I know I'll never need), and chose to compile some into the
> kernel instead of modules (e.g., drivers for my sata disks).
> I followed the directions found at
> http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-kernel-org-package.
> now, during the boot process, just after the kernel boots, I get some
> error messages:
> FATAL: Could not load /lib/modules/ No
> such file or directory
> apart from this, the system boots perfectly fine and runs normal. the
> file /lib/modules/ does exist, but there
> is no such file in the generated initrd image (neither is there in the
> default kernel's).
> so, why exactly is it looking for this file, and how do I get rid of the error?

It is looking for the file created and/or updated by "depmod" while
running the following command:

        depmod -e -F /boot/System.map-`uname -r` -v `uname -r`

Supposedly, as far as everything is there, yours should look like this:

        depmod -e -F /boot/System.map- -v

That should update and give you the following files
in /lib/modules/


Here is hoping.
greg, greg@gregfolkert.net
PGP key: 1024D/B524687C  2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: