Running the fsck command is pretty straightforward; you can run it on one partition/filesystem at a time, or have fsck automatically walk its way through all filesystems listed in /etc/fstab. The latter should happen if you simply issue the command itself (with no options/arguments). To specify a partition, just do, for example:
fdisk /dev/hda1
Read the fsck man page for a full description.
You might also want to boot into rescue mode from your installation CD and run fsck from there; it might be a bit safer.
DMR
Wombat At Large
7,229 posts since Dec 2003
Reputation Points: 221
Solved Threads: 370
My redhat 8.0 box froze up yesterday leaving me no chose but to powerdown. now it wont boot. it getts going but then starts doing file system checks and drops me in to a recovery shell so i can run fsck and e2fsck.
is there a way i can kick this box back in to life without the full re-install?
UseKnoppix. See my sig.
TallCool1
Practically a Posting Shark
865 posts since May 2003
Reputation Points: 149
Solved Threads: 45
Well What do you know,
Gave it one more shot using fsck on each partision and its all cleared up.
Glad you got it sorted out without having to reinstall. :cool:
DMR
Wombat At Large
7,229 posts since Dec 2003
Reputation Points: 221
Solved Threads: 370