busybox cannot enter into shell

marco szarm at tom.com
Wed Oct 4 04:31:42 UTC 2006


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 !


        marco
        szarm at tom.com
          2006-09-26


More information about the busybox mailing list