LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hello,

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-2.6.27.9-vortex86dx
sudo cp System.map /boot/System.map-2.6.27.9-vortex86dx
sudo cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.27.9
mkinitramfs -o /boot/initrd.img-2.6.27.9-vortex86dx 2.6.27.9-vortex86dx

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-2.6.27.9 root=/dev/hdc2 ro vga=792
initrd (hd0,0)/boot/initrd.img-2.6.27.9-vortex86dx
quiet


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, 02:20 AM   #2
jdkaye
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/2.6.27.9-vortex86dx/modules.dep
Quote:
But the path is in rootfs
What path, exactly?
jdk

Last edited by jdkaye; 06-29-2009 at 02:21 AM.
 
Old 06-29-2009, 07:17 AM   #3
fmnovais_br
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-2.6.27.9-vortex86dx 2.6.27.9-vortex86dx
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....
 
  


Reply


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 05:09 PM
[OpenSUSE 11.1] modprobe: FATAL: Could not load /lib/modules noir911 SUSE / openSUSE 3 05-20-2009 05:50 AM
modprobe: FATAL: Could not load.....modules.dep anuj.d@tcs.com Linux - Newbie 10 10-21-2008 09:26 AM
modprobe fatal could not load lib/modules.... raport Linux - Software 2 09-13-2006 12:36 AM
modprobe: FATAL: could not load /lib... at kernel boot jamie_barrow Linux - Kernel 6 08-25-2006 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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