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
|