Thread (6 messages) 6 messages, 2 authors, 2008-11-15

Re: USB Flash rootfs prep!

flat view

From: Cristian Axenie <hidden>
Date: 2008-11-15 09:12:51

On Sat, Nov 15, 2008 at 11:12 AM, Cristian Axenie <cristian.axenie@gmail.com
wrote:

On Sat, Nov 15, 2008 at 10:18 AM, Joachim Foerster [off-list ref]wrote:
quoted
Hi Cristian,

On Sat, 2008-11-15 at 03:05 +0200, Cristian Axenie wrote:
quoted
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 156k init
Warning: unable to open an initial console.
Device file /dev/console doesn't seem to exist in your rootfs.
Strange because /dev/console exists in my ext2.img.
quoted
quoted
Failed to execute /bin/busybox.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option
to kernel.
It seems that you don't have an executable called /bin/busybox in your
rootfs. Your kernel command line seems to have "init=/bin/busybox"
included?

But, hmmm, it is very strange, at least in your uboot bootargs there is
no such string. Is it because of some default kernel command line (set
before compiling the kernel)?

I simply forgot to write them here (because I didn't knew if they were
valid) but I 've tried with init=/sbin/init and get the same result !
quoted
quoted
Rebooting in 180 seconds..

Shall I explicitly give the init ? What should be ... init=/sbin/init,
init=/bin/busybox ????
The rootfs which comes with ELDK "starts" with /sbin/init - it does not
use busybox, right (as far as I can remember)? So you need to specify
"init=/sbin/init" on your kernel command line.

I've tried with /sbin/init and the same !!
quoted

 Joachim

Cristian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help