>>>>> "def" == David E Fox <[EMAIL PROTECTED]> writes:
def> Well, you're essentially in single user mode (i.e., this
def> happens during the start up procedure) and so you can just do
def> the fsck at the time you get to the provided shell prompt. It
def> is important to just say 'fsck /dev/hda1' (or whatever device
def> is affected) -- that is, don't use any extra options.
Well, you can usefully use
fsck -A ; echo === $? ===
which will just do whatever is required to get the job done (if it
asks for confirmation for doign fsck on a mounted filesystem, tell it
not to do that) with "n"). Then you can just type "exit", at which
point the initialisation scripts will automatically reboot the system.
If the number echoed at the end is 4 or greater (see "man e2fsck"),
you're in big trouble -- but this is unlikely.
If the value is less than 4, but fsck ended up deleting lots of things
in the /bin, /sbin, or /etc directories, your system may no longer be
bootable (remember, this is very unlikely). In this case you will
want to fix it later with a rescue disk ("man mkbootdisk" in Red Hat
5.1 and above), but for the meantime just exit and give it a go.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.