On Sat, 15 Jun 2002 21:59:41 +0200 (CEST) Kjetil Tjensvold <[EMAIL PROTECTED]> wrote:
> --- ABrady <[EMAIL PROTECTED]> skrev: > On Sat, 15 Jun > 2002 12:21:55 +0200 (CEST) > > Kjetil Tjensvold <[EMAIL PROTECTED]> wrote: > > > > > I cant get into linux. My RH 7.2 hangs when > > booting > > > up with this message. > > > /etc/rc5.d/S99local !bash/sh no such file or > > > directory. > > > I can t get into it wit my rescue disk either. > > > Any idea. > > > > Go in with single user mode ('linux single' if using > > lilo, I dunno with > > grub). Once in edit /etc/rc.d/rc.local and fix the > > very top line. It > > should read: > > > > #!/bin/sh > > > > That is, assuming you copied the error above > > correctly. > > > No I didnt. it says #!/bin/sh > But it cant find the file /etc/rc5.d/S99local > Thats the problem although I now came in with the > rescue option and the file reside in that directory. > But it cant find it. Is bash installed (look for /bin/sh to see if it's there, or rpm -q bash)? Is there a /bin/sh or /bin/bash file? (On mine and probably on yours, /bin/sh should point to /bin/bash.) What does this show? ls -l /etc/rc5.d/S99local I'm guessing it somehow is pointing to the wrong place or something. Maybe the symlink is pointing to another symlink, or it's pointing to a non-existent file. But that's only a guess at this point. -- It is easier to fix Unix than to live with NT. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list