Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 1998 21:24:14 -0600
From:      Robert <rjl@imine.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   [Fwd: Help: Can't reboot FreeBSD 2.2.5 machine]
Message-ID:  <3590715E.81280100@imine.net>

next in thread | raw e-mail | index | archive | help
Robert wrote:
> 
> Thomas Dean wrote:
> >
> > Have you deleted files or changed permissions in /bin?
> >
> > Try to boot into single user mode.  At the boot prompt, enter -s.  If
> > you get a "can't find /bin/sh" error, try booting again in single user
> > mode and entering /bin/csh at the prompt for the shell.
> >
> > Then, mount the disks with 'mount -a' and look at the /bin directory.
> > 'ls -l /bin' should show you sh and csh with permissions 555
> > (-r-xr-xr-x), owner bin and group bin.
> 
> Thomas,
> 
> Thank! You! very much for this info. I am in single user mode now and
> when I look at /bin I see csh as you say, but sh is a symlink to a
> non-existant dir. There is a sh.old which is as you say except that the
> owner is root. The system will not let me change the owner or unlink the
> sh file link. Says commands not found, unlink and chown
> 
> I think if I can get rid of the link and change the name of the sh.old I
> could get back up and running. Any thoughts? Thanks!
> 
> r.
> 
> --
> Robert J. LeClaire  --  InfoMine of the Rockies, Inc.
> Voice:  406.449.4110  --  FAX:  406.449.5160
> mailto:staff@imine.net  --  http://www.imine.net

-- 
Robert J. LeClaire  --  InfoMine of the Rockies, Inc.
Voice:  406.449.4110  --  FAX:  406.449.5160
mailto:staff@imine.net  --  http://www.imine.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3590715E.81280100>