Is there a scandisk alternative for Linux - fsck

From MEPIS Documentation Wiki

Jump to: navigation, search

!!! Warning! The info contained in this article pertains to older versions of MEPIS !!!

In the Windows world, I used scandisk to fix corruptions on the hard disk. How do I do it in Linux?

It is not often that you will need to do this, if you shutdown prematurely, fsck (File System ChecK) will automatically be called when you reboot. If you do feel that you need to do it, follow the following steps:

  • Boot from the live CD
  • Do not mount the filesytems on your local hardisk
  • Open a konsole terminal, and su to root
  • Type "cat /etc/fstab" to see what drives you have on the local hardisk.
  • Run fsck on any non windows drives (do not run it on ntfs), by typing "fsck -r /mnt/hda5", alternatively you can start fsck from MEPIS OS Center -> Repair Partitions.
  • It will interactively ask you if you want to repair any problems.
Personal tools
In other languages