From owner-freebsd-questions Tue Jun 23 20:24:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA11181 for freebsd-questions-outgoing; Tue, 23 Jun 1998 20:24:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from goatherder.imine.net (goatherder.imine.net [205.218.0.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA11118 for ; Tue, 23 Jun 1998 20:24:17 -0700 (PDT) (envelope-from rjl@imine.net) Received: from goatherder.imine.net by goatherder.imine.net; (5.65/1.1.8.2/21Jun95-0901AM) id AA06988; Tue, 23 Jun 1998 21:24:15 -0600 Message-Id: <3590715E.81280100@imine.net> Date: Tue, 23 Jun 1998 21:24:14 -0600 From: Robert Organization: InfoMine of the Rockies, Inc. X-Mailer: Mozilla 4.04 [en] (X11; I; OSF1 V3.2 alpha) Mime-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: [Fwd: Help: Can't reboot FreeBSD 2.2.5 machine] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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