LKML Archive on
help / color / mirror / Atom feed
* pxe booting initrd - kernel panic: No init found
@ 2007-01-16 16:03 pankaj takawale
  0 siblings, 0 replies; only message in thread
From: pankaj takawale @ 2007-01-16 16:03 UTC (permalink / raw)
  To: linux-kernel

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

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

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-16 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-16 16:03 pxe booting initrd - kernel panic: No init found pankaj takawale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).