"Bummer, could not run '/etc/init.d/rcS': No such file or directory"

Hinko Kocevar hinko.kocevar at cetrtapot.si
Thu Jun 26 03:32:09 PDT 2008


Juliana Su wrote:
> Hi,
> 
> Is anybody familiar with the "Bummer, could not run '/etc/init.d/rcS': 
> No such file or directory" error message?
> 
> Here's the last bit of my kernel boot log:
> 
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> VFS: Mounted root (ext2 filesystem).
> Mounted devfs on /dev
> Freeing unused kernel memory: 120k init
> Bummer, could not run '/etc/init.d/rcS': No such file or directory
> 

/etc/init.d/rcS is default sysinit script that is run once the kernel is finished booting. /etc/init.d/rcS is called from init process as a last action (see init.c).
Error would suggest that you do not have the /etc/init.d/rcS in place.

Put /etc/init.d/rcS on your FS with this content:
#!/bin/sh
echo Exec $0 script..
exit $?

and make it executable. Upon boot this script should be run and message printed in the console. Of course for production /etc/init.d/rcS should do a bit more work..

HTH,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si



More information about the busybox mailing list