/etc/rc.d/init.d/rc:line 1:/bin/stty:no such file or directory

Greg Schafer gschafer at zip.com.au
Thu Nov 20 15:34:24 PST 2003

On Thu, Nov 20, 2003 at 11:02:15PM +0000, sha ying wrote:
>    I have installed LFS-5.0,but I have found some problem.
>    when I leave the "/tools" directory, everything is ok.
>    can login , can run "ls" etc .
>    But when I deleted the "/tools" directory,
>    there is the error message:
>    /etc/rc.d/init.d/rc: line 1 : /bin/stty: No such file or directory.
>    INIT: Entering runlevel: 3
>    /etc/rc.d/init.d/rc: line 1: /bin/stty: No such file or directory.

This means you probably didn't readjust the toolchain properly. If so, then
you probably didn't perform the sanity check, or if you did, you ignored the
results and the warning not to continue.

>    what should i do?

Start again from scratch and follow the book closely this time, and don't
ignore the sanity checks.

More information about the lfs-support mailing list