busybox cannot enter into shell

Tito farmatito at tiscali.it
Wed Oct 4 05:36:07 UTC 2006


On Wednesday 4 October 2006 06:31, marco wrote:
> hi, every one,
> 	I use busybox-1.2.1, and I use /linuxrc  /etc/inittab  /etc/init.d/rcS   3 files to start my kernel, but now I cannot enter inot shell. So the following are the contents of my 3 files:
> (1) /linuxrc :
>     /bin/echo "start /sbin/init"
>     exec /sbin/init
> 
> (2) /etc/inittab :
> 	::sysinit:/etc/init.d/rcS
> 	::respawn:-/bin/sh
> 
> (3) /etc/init.d/rcS :
> #! /bin/sh
> PATH=/bin:/sbin:/usr/bin:/usr/sbin
> export	PATH
> 
> /bin/echo "mount other filesystems..."
> /bin/mount -a
> 
> /bin/echo "hostname eb2410"
> /bin/hostname eb2410
> 
> so i start kernel and initrd, but it cannot enter into shell, just stop here:
> ........
> Mounted devfs on /dev
> start /sbin/init
> init started:  BusyBox v1.2.1 (2006.09.26-04:17+0000) multi-call binary
> Starting pid 666, console /dev/tts/0: '/etc/init.d/rcS'
> mount other filesystems...
> hostname eb2410
> 
> why ? why cannot open a shell?  just stop after finished perform rcS.
> please help me !
> 
Do you have a link from /bin/sh to busybox?

Ciao,
Tito



More information about the busybox mailing list