From owner-freebsd-questions@FreeBSD.ORG Tue Mar 13 00:38:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DCE516A402 for ; Tue, 13 Mar 2007 00:38:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3E48513C45B for ; Tue, 13 Mar 2007 00:38:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l2D0YqG5053652; Mon, 12 Mar 2007 20:34:52 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l2D0Yq2G053651; Mon, 12 Mar 2007 20:34:52 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 12 Mar 2007 20:34:52 -0400 From: Jerry McAllister To: Drew Jenkins Message-ID: <20070313003452.GA53612@gizmo.acns.msu.edu> References: <825484.90051.qm@web62212.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <825484.90051.qm@web62212.mail.re1.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: How Do I Find Find? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2007 00:38:04 -0000 On Mon, Mar 12, 2007 at 10:52:28AM -0700, Drew Jenkins wrote: > I built a home server to prepare to build a new production server. Well, the latter is built out, but when I went back to the former, it said there was a problem with my last shutdown (which I don't remember) and went into single user mode. I went to run a "find" and it complained it couldn't find the "find" command! I thought, what the heck, no great loss, I'll just rebuild this machine. But after re-installing FBSD, it *still* can't find the "find" command! Now I'm worried! It wasn't in /usr/bin/ What happened to this installation?? That is because the file systems are not mounted in single user by default. You need to do it by hand. Here is a good sequence to use if you boot to single user. fsck -p does a preen on file systems mount -u / Gets root remounted to read/write mount -a mounts everything else normally mounted swapon -a starts using swap Then you should be able to do any local thing (no network is up yet). A couple of things might prevent this from going well if some thing got smutched or if some part of the system is failing - rare but happens. It is possible the fsck might fail and you have to repeat it a couple of times to get it to complete. Do it and say 'y' to anything it wants to do. If a file system is failing, you might no be able to mount it. Hopefully it won't be / or /usr or it will be hard to recover. ////jerry > TIA, > Drew3 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >