Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2001 22:55:06 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        <freebsd-questions@FreeBSD.ORG>, "Jeffrey Adzima" <jeff@lasrlink.com>
Subject:   Re: System Crash, can't find my way back.
Message-ID:  <00a601c0bfd7$51909e80$1200a8c0@gsicomp.on.ca>
References:  <5.0.2.1.2.20010407183654.00afb828@pop.lasrlink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 [snip]
> /dev/ad0s1e: UNEXPECTED INCONSISTENCY, RUN fsck MANUALLY
> THE FOLLOWING FILE SYSTEM HAS AN UNEXPECTED INCONSISTENCY:
> /dev/ad0s1e: (/var)
>
> Automatic file system check failed......help!
> Enter full pathname of shell or RETURN for /bin/sh:
>
> I entered the /bin/csh for the shell and tried to bop around in there, but
> could find any files that I could use, i.e. pico, vi, couldn't find fsck.
> I'm booting into single user mode, but when I try to use fsck it tells me
> the command can't be found. Need some direction here, any help would be
> greatly appreciated. thanks.

Since /usr isn't mounted yet, you won't have a lot of familiar tools.
Further, in single-user mode, there are no directories in your search path,
so you must cd to the proper directory before executing a command.

Since fsck is in /sbin, you'll need to 'cd /sbin' and then './fsck' and that
should get you on your way.

--
Matt Emmerton


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?00a601c0bfd7$51909e80$1200a8c0>