LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   mkinitrd (https://www.linuxquestions.org/questions/debian-26/mkinitrd-87593/)

welsh2000836 08-31-2003 09:30 AM

mkinitrd
 
Hello all!

I have already recompiled my new kernel 2.4.22. And everything looks fine. But when I reboot the PC. I can't enter it.
I know it is because I add the initrd file. But if I'm not append the initrd file in the lilo.conf. The system can't boot,too. The message will say "Kernel panic: VFS: Unable to mount root fs on 08:01".

Who can help me. Thank you very much!!




it always display the message(like a infinite loop):

kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8
kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8
kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8
kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8
kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8
kmod: failed to exec /sbin/modprobe -s -k binfmt-0000, errno=8



The following is my lilo.conf.

# lilo.conf
lba32
boot=/dev/sda
root=/dev/sda1
install=/boot/boot-menu.b
map=/boot/map
delay=20
vga=normal
timeout=150
prompt
default=Debian

image=/boot/vmlinuz-2.4.18-1-686
root=/dev/sda1
label=Debian
read-only
initrd=/boot/initrd.img-2.4.18-1-686

image=/vmlinuz.old
label=LinuxOld
read-only
optional

image=/boot/vmlinuz-2.4.22
label=Custom
read-only
initrd=/boot/initrd.img-2.4.22

lokee 08-31-2003 09:53 AM

1) Did you build the necessary drivers into the kernel: like Ext2(or whatever you use), the proper IDE and SCSI things?

2) How did you create the initrd file? was it via the /sbin/mkinitrd cmd, or with the 'make install' cmd after the compilation of the kernel?

TigerOC 08-31-2003 12:03 PM

Here's a link that may resolve the problem for you. I have the same problem but have not tried this yet so I will interested in the result.


All times are GMT -5. The time now is 06:16 PM.