From: pankaj takawale <pankaj_takawale@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: pxe booting initrd - kernel panic: No init found
Date: Tue, 16 Jan 2007 08:03:14 -0800 (PST) [thread overview]
Message-ID: <774824.83968.qm@web50301.mail.yahoo.com> (raw)
I have compiled & built linux 2.4 kernel, then I
created initrd image using mkinitrd.
Then I mounted this initrd, injected /bin/sh & libc
libraries from system into initrd.
I copied newly built vmlinuz & initrd images to pxe
servert tftp directory.
When I pxe boot my bare-metal machine with these
vmlinuz & initrd , I receive "kernel panic: No Init
found"
After adding debug messages into linux kernel
(init/main.c) I found that execve("/bin/sh"..) is
returning error & errno is EIO (I/O error)
I could see that root filesystem is mounted
successfully.
What causes this error?
Is my initrd is not successfully mounted into ram
using ramdisk image?
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
reply other threads:[~2007-01-16 16:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=774824.83968.qm@web50301.mail.yahoo.com \
--to=pankaj_takawale@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®