Problems getting a shell

Rob Landley rob at landley.net
Mon Feb 13 17:13:54 UTC 2006


On Sunday 12 February 2006 15:29, Mark Underwood wrote:
> Hi,
>
> I am working on a custom OMAP5910 board running linux-2.6.15 and have built
> built a small busybox rootfs using buildroot. My kernel boots up fine,
> mounts the rootfs but I don't get a login prompt.

Sigh.  Do we have a FAQ entry on this yet?

If you're having trouble with init:

Step 1: Build a "hello world" program and boot with init=/bin/helloworld.
Step 2: Build a command shell and try to boot with init=/bin/ash.
Step 3: Build busybox init and try to boot with that as init.

Note on step 2: if you're using busybox's "standalone shell" mode, it won't 
work if "/proc" isn't mounted.  Yes, this is a significant limitation, and it 
should really only apply when you're trying to fork off another shell 
instance (lash, hush, msh, ash, or sh), but it hasn't been fixed yet.  You 
should at least be able to get a shell prompt and run built-in commands like 
"echo", though.

Rob
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.



More information about the busybox mailing list