In Linux Mint after a certain number of mounts hard drives (“restart computer”) forced to on fsck to check the hard drive. Many people know that using tune2fs can be controlled intervals fsck checks. But sometimes you need to check the disk “here and now”. If you run fsck with an indication of your drive, the more likely they mounted and fsck will warn you that it is fraught for you. How can that be? To unmount to check? But what about the root?
A simple disk check can be enjoyed in the system. On the next boot, the system will automatically check all drives, then safely downloaded to your desktop.
You have to reboot and fsck will start to scan all hard disks listed in /etc/fstab.
Also you can check the system disk in Gparted in LiveCD mode. To do this, unmount the desired partition, right click, Check.
But what do we do if we need to check and block bad sectors on the System partition?
The following steps can be performed either by booting to a LiveCD.
BUT if you will check the external (not the system disk), you can easily to do it from your “home” system, from pre-unmount the scanned section.
I will show an example in LiveCD mode.
1. Boot into LiveCD mode
2. Watch full list of storage volumes:
3. To dispel doubts, whether the selected drive, you can check the model of the hard drive (carefully, instead of sda1 in the command written sda):
6. Marking bad blocks (marked blocks will be ignored by the system in future):
That’s all. The same procedure should be done after formatting the new drives.
Fix your HDD disk:
Before you check the file system must be unmounted, for example:
y – always answer yes to all questions (there is an alternative: the -p key starts the test in a fully automatic mode);
f – forces a file system check (even if the file system is marked as fully functional)
c – looking for broken blocks (bad blocks), and then marks them accordingly
Remember: if bad sectors began to appear, it’s time to change the hard drive.
To monitor the status of your HDD or SDD, use the GSmartControl utility.