login: cannot run /bin/bash: No such file or directory
Rob Landley
rob at landley.net
Tue Nov 22 08:07:44 UTC 2005
On Monday 21 November 2005 21:12, bin sun wrote:
> hello:
> i make a mistake when i say use linux kernel
> version: linux 2.6.14 before
>
> now i use linux kernel 2.6.14.2
> and busybox-1.01
> when i compile busybox the only change is i set
> CDOSTATIC=true
> mice: PS/2 mouse device common for all mice
> RAMDISK: Compressed image found at block 0
> RAMDISK: incomplete write (-28 != 32768) 4194304
Does your ramdisk image fit in the space you told the kernel to allocate for
ramdisks?
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 92k init
> Bummer, c?
> (none) login: sb
> Password:
> Login incorrect
Well, that's progress anyway.
I dunno what "Bummer, c?" means.
Could you try booting with rdinit=/bin/sh (or wherever your shell is in the
ramdisk) and poke around in your ramdisk a bit to make sure
that /etc/password is there with the right permissions and all that?
The next step after that is to throw printf() statements into init and login
to see what they're doing. :)
Rob
More information about the busybox
mailing list