pxe booting initrd - kernel panic: No init found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux