Cannot execute rcS

Adrian Ho aho-lfs-discuss at 03s.net
Sun Jul 8 08:46:33 PDT 2001


On Sun, Jul 08, 2001 at 05:16:02PM +0200, Hartmut Brüning wrote:
> I just compiled my LFS3.0pre3. But I am not able to boot it.
> When I boot my LFS the following messages appear:
> "NIT cannot execute "/etc/init.d/rcS
> INIT Entring runlevel: 3
> INIT cannot execute /etc/init.d/rc
> 
> I booted my Mandrake again and checked, wheatcher the rights
> on $LFS/etc/init.d/rcS are correct. They are on 754. ls -F shows
> a star after the filename, so it is executable. Next I tried
> to execute $LFS/etc/init.d/rcS in my Mandrake. For my
> Surprise Linux does'nt want to run it although it is able to
> execute the boot script from my Mandrake Linux manually which
> has the same rights and type.

That's almost certainly because you boo-boo'd the very first line of
each script (that specifies the shell interpreter used to run the
scripts).  What does the first line of $LFS/etc/init.d/rcS say?

- Adrian
-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the lfs-dev mailing list