To check hard disk, run
fsck.ext4 /dev/sda1
Auto Repair file system
By default fsck will ask you what to do when it find any error. When you have many errors, pressing y for each error is time consuming. It is better use -a or -y option for auto repair.
fsck -y /dev/sda1
Leave a Reply