Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-28-2009, 10:34 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
modprobe: FATAL: Could not load


I am building a distro based in debian. But I'm having problems with
load linux.
I made a rootfs, I compiled the kernel, and I installed GRUB on CF.
But when kernel is loading it gave a string:

modprobe: FATAL: Could not load /lib/modules/<version>/modules.dep: No such file or directory
But the path is in rootfs.

I follow the steps to compile kernel:
sudo make menuconfig
sudo make
sudo make modules_install
sudo cp .config /boot/config-
sudo cp /boot/
sudo cp arch/x86/boot/bzImage /boot/vmlinuz-
mkinitramfs -o /boot/initrd.img-

After this I installed the GRUB and cofig the menu.lst like that:
default 0
timeout 5

title LINUX
root (hd0,1)
kernel (hd0,0)/boot/vmlinuz- root=/dev/hdc2 ro vga=792
initrd (hd0,0)/boot/initrd.img-

Now I dont know if the problem is in the configuration GRUB
or something wrong in the command mkinitramfs.

Thank you for help
Old 06-29-2009, 03:20 AM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Do you actually have the file called "modules.dep" here? /lib/modules/
But the path is in rootfs
What path, exactly?

Last edited by jdkaye; 06-29-2009 at 03:21 AM.
Old 06-29-2009, 08:17 AM   #3
LQ Newbie
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
mkinitramfs how to use?

Actually, I dont know how to use mkinitramfs.
I run mkinitramfs -o /boot/initrd.img-
but he used the conf of my host(ubuntu). So searching in "/lib/modules/2.6.28-13-generic/modules.dep".

How do I create a initrd for my distro?

I elaborate a Root File System and put on partition different of the boot partition.

When the Linux finishes it search a init program, but it could because didn't load the modules of kernel. ( it is right ? ).

Thank you for help....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 06:09 PM
[OpenSUSE 11.1] modprobe: FATAL: Could not load /lib/modules noir911 SUSE / openSUSE 3 05-20-2009 06:50 AM
modprobe: FATAL: Could not load.....modules.dep Linux - Newbie 10 10-21-2008 10:26 AM
modprobe fatal could not load lib/modules.... raport Linux - Software 2 09-13-2006 01:36 AM
modprobe: FATAL: could not load /lib... at kernel boot jamie_barrow Linux - Kernel 6 08-25-2006 09:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration