Boot problem: " cannot execute "/etc/rc.d/rc.S" "

Boot problem: " cannot execute "/etc/rc.d/rc.S" "

Post by Henrik Kressn » Wed, 12 Apr 1995 04:00:00



I got this problem in the boot process. When I boot my system, just after:

VFS mounted root (ext2 filesystem) readonly

This comes up:

Apr 9 15:23:47 init[1]: version 2.4 booting
init[2]: cannot execute "/etc/rc.d/rc.S"
Apr 9 15:23:48 init[2]: cannot execute "/etc/rc.d/rc.S"
Apr 9 15:23:48 init[1]: Entering runlevel: 5
init[3]: cannot execute "/etc/rc.d/rc.M"
Apr 9 15:23:48 init[3]: cannot execute "/eyc/rc.d/rc.M"

welcome to linux 0.99.15.

The Linux version is 1.1.59.

The error happens on both a 386/16 with 5 MBRAM/42MBHD and on a 386/40 8 MBRAM
and 520 MB DOS shared HD. There are just a videocard (EGA or VGA tryed) and
a HD/FD controller in the maschine, sometimes there are also a NE2000 card,
but it dosent seam to change anything if i take it out. I even tryed several
times to reinstal the system even with software from different sites.

All the files in /etc/rc.d, and all the directorys above, has all rights set
for root, and execute rights for everyone else. I changed this so that, the
root (/), /etc, all files in /etc, the directory /etc/rc.d and finally all
files in /etc/rc.d has all rights set, nothing changes.

When I log in as root for the first time after boot, I have to

mount -n -o remount /
mount /proc /proc -t proc

Then the systems works until the next time it is booted.

When I am on the system (as root) I can not execute any file in the /etc/rc.d
directory. If I copy one ore more file from the /etc/rc.d directory, i still
cannot execute it. Everytime i write:

rc.S

in the /etc/rc.d directory, and everywhere else, I get this error:

bash: ./rc.S: No such file or directory

even though I can edit the file with vi and cat it with

cat rc.S

I have looked in all the FAQ I can find, and all the documentation available.
Am I just stuppid, or am I the first in the world to encounter this problem.

Any hint and suggestion is higly apriciatet


 
 
 

Boot problem: " cannot execute "/etc/rc.d/rc.S" "

Post by Christoph Lamet » Wed, 12 Apr 1995 04:00:00


: in the /etc/rc.d directory, and everywhere else, I get this error:

: bash: ./rc.S: No such file or directory

: even though I can edit the file with vi and cat it with

: cat rc.S

: I have looked in all the FAQ I can find, and all the documentation available.
: Am I just stuppid, or am I the first in the world to encounter this problem.

: Any hint and suggestion is higly apriciatet

Check if the shell that rc.S uses is installed.

There should be a line
#!/bin/sh

or something at the head of rc.S. The /bin/sh must be present.

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Christoph Lameter                       Dipl.Inform, Master of Divinity

Posting from the Water Fountain (818)564-8548. Come all ye are thirsty....
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 
 
 

Boot problem: " cannot execute "/etc/rc.d/rc.S" "

Post by The Extremi » Thu, 13 Apr 1995 04:00:00


: I got this problem in the boot process. When I boot my system, just after:

: VFS mounted root (ext2 filesystem) readonly

: This comes up:

: Apr 9 15:23:47 init[1]: version 2.4 booting
: init[2]: cannot execute "/etc/rc.d/rc.S"
: Apr 9 15:23:48 init[2]: cannot execute "/etc/rc.d/rc.S"
: Apr 9 15:23:48 init[1]: Entering runlevel: 5
: init[3]: cannot execute "/etc/rc.d/rc.M"
: Apr 9 15:23:48 init[3]: cannot execute "/eyc/rc.d/rc.M"

: welcome to linux 0.99.15.

: The Linux version is 1.1.59.

        How was 1.1.59 installed?  Did you do a full install?  ...or
compile a new kernel?  You are booting a 0.99.15 kernel whether you like
it or not....:)  This could be due to you compiling a new kernel, and
LILO not being run, or nothing being set in the lilo.conf file (or being
set incorrectly).  If you installed everything from scratch, with a
1.1.59 distribution, then try again.  Something is screwed.

: but it dosent seam to change anything if i take it out. I even tryed several
: times to reinstal the system even with software from different sites.

        You may be getting software from different sites, but is it a
clean distribution?  (ie: no versions are mixed together)

: All the files in /etc/rc.d, and all the directorys above, has all rights set
: for root, and execute rights for everyone else. I changed this so that, the
: root (/), /etc, all files in /etc, the directory /etc/rc.d and finally all
: files in /etc/rc.d has all rights set, nothing changes.

: When I log in as root for the first time after boot, I have to

: mount -n -o remount /
: mount /proc /proc -t proc

: Then the systems works until the next time it is booted.

        Check your /etc/fstab and be sure the line:
                none             /proc    proc        defaults
        is there.  If not, that could be causing the problem.  If you
don't mount your filesystems right, and in the right order, a crash is
inevitable.

: When I am on the system (as root) I can not execute any file in the /etc/rc.d
: directory. If I copy one ore more file from the /etc/rc.d directory, i still
: cannot execute it. Everytime i write:

: rc.S

: in the /etc/rc.d directory, and everywhere else, I get this error:

: bash: ./rc.S: No such file or directory

        Try using "./rc.S" as the command line.  Otherwise, bash doesn't
like to run it as it is looking for it out on the path and not in the
current directory.

        Good Luck.

        -Mark

--
/---------------------------------------------\
| Mark Burdick, Computer Science Student,     |
| Computer Technician (PC Maintenance Lab)    |
| all opinions expressed here are my own      |

\---------------------------------------------/