Date: Mon, 12 Mar 2007 20:34:52 -0400 From: Jerry McAllister <jerrymc@msu.edu> To: Drew Jenkins <drewjenkinsjr@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: How Do I Find Find? Message-ID: <20070313003452.GA53612@gizmo.acns.msu.edu> In-Reply-To: <825484.90051.qm@web62212.mail.re1.yahoo.com> References: <825484.90051.qm@web62212.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070313003452.GA53612>