If you are an Ubuntu or Linux user, you may have experienced a situation in which the file system may have been damaged for unknown reasons. When this happens, you can repair the damaged file system and return it to its normal state using the Ubuntu boot CD. Accessing the boot menu can help you to detect any errors that may have occurred and help you address the crash correctly. This article will show you how to address a damaged file system by using command lines to search for and find errors.
$ sudo fsck.ext3 -f /dev/sdaXto launch a search for any errors. All errors found should be repaired.
sudo touch /forcefsck.