Identify partitions
sudo fdisk -l
Make sure they are unmounted:
Code: [Select]
for n in /dev/sda* ; do umount $n ; done
then run fsck on them (substitute X to suit):
fsck /dev/sdaX
or fix an hard drive related issue called bad blocks you may have (this will take a long time).
fsck -cy /dev/sdaX
fsck -C0 -p -f -v /dev/sdaX