LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-31-2003, 08:30 AM   #1
welsh2000836
LQ Newbie
 
Registered: Aug 2003
Location: Taipei
Posts: 3

Rep: Reputation: 0
Unhappy 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
 
Old 08-31-2003, 08:53 AM   #2
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
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?
 
Old 08-31-2003, 11:03 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.
 
  


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
mkinitrd ? anti.corp Slackware 1 11-27-2005 01:51 PM
Help with mkinitrd paddyjoy Linux - Newbie 2 07-02-2005 07:05 AM
mkinitrd beaucox Linux - Software 6 03-29-2004 09:44 AM
mkinitrd vmniza Linux - General 1 03-10-2004 02:05 AM
No Mkinitrd?????? sovietpower Linux - General 5 02-08-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:51 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