Hi All,
I feel pretty stupid asking this question since I've been using Linux for a couple of months now... but here goes.
I want to run "fsck" on my hard drives. I have 2 Linux boxes, one with RH 6.2 and one with RH 8.0. I know that fsck can only be run on unmounted drives, but if the command is on the drive I want to check, how do I go about it.
For example if I want to check the entire hda, what would the command be, and how would I bring the computer up to allow it to run the command? Also, would each partition have to be checked separately (hda1, hda2, etc.)?
I have looked at the man pages, did find the -A option for checking all file systems, but obviously, at least one file system must be mounted or the computer wouldn't be running. Then there's the -a option to automatically repair problems. If that's not used, is the user prompted to make repairs?
I really need a plain English (non-geekspeak) walk-through on how to run fsck on a hard drive. I would "play" with the command, but am worried about creating problems since both computers are running well at the moment.
Thanks in advance!
Jim


Reply With Quote
If I can boot, I can fix it ;D

Bookmarks