How to perform fsck
It is simple. Umount the partition and issue the below command
e2fsck -y /dev/hda1
Run fsck on all file system
e2fsck -A -y
Exclude the root with option R
e2fsck -AR -y
Specify the file system type using t
fsck -AR -t ext2 -y
Donot execute fsck on mounted partitions
e2fsck -M /dev/hda1
Comments
Post a Comment