Results 1 to 4 of 4
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.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-29-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
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
- 06-29-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,141
Does the directory /usr/lib/modules/2.6.27.9-vortex86dx exist when the system is booting up? That's where the modules.dep file has to reside, along with a lot of other cruft.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-29-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
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....
- 06-29-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,141
Sorry, but I just reached the limit of my kernel building knowledge. Perhaps another reader here can help?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
