lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <774824.83968.qm@web50301.mail.yahoo.com>
Date:	Tue, 16 Jan 2007 08:03:14 -0800 (PST)
From:	pankaj takawale <pankaj_takawale@...oo.com>
To:	linux-kernel@...r.kernel.org
Subject: pxe booting initrd - kernel panic: No init found

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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ