5

fsck.vfat (dosfsck) can check FAT32, but can't repair most of the errors.

ntfsfix can check, but to repair often suggest to use Windows and chkdsk from it.

I don't know how to check and repair another file system from the title in Linux.

I don't have MS Windows or Mac OS X, but I need two Linux good tools, maybe non-free:

  1. For checking and repair FAT32, NTFS, exFAT (Windows's standard fs).

  2. For checking and repair HFS and HFS+ (Mac OS X's standard fs).

Or maybe one tool for all.

testdisk supports FAT, exFAT, NTFS, but it is not automatic repair tool and can't fix most of the errors.

photorec even supports HFS+, but it can't repair fs, it can only repair files from it.

First of all, I need a full featured fs auto repair tool (maybe with some user confirmations) as in the title.

  • 1
    You can download a Windows ISO file for free, and install it for a 30-day trial period with 3 (4?) times to rearm the trial time. After that the only thing is the black wallpaper, most other features remain normally functioning. But you don't need to install the OS, just boot the windows installer and select repair – phuclv Jul 13 '15 at 2:19
  • @LưuVĩnhPhúc And how windows installer can help me with HFS/HFS+? – user1742529 Jul 14 '15 at 7:43
  • you said that you need 2 good tools, not necessarily one tool for all – phuclv Jul 14 '15 at 8:26
  • @LưuVĩnhPhúc Then... Where is your proposed tool for HFS/HFS+? – user1742529 Jul 15 '15 at 2:51
  • for that you need to ask another person – phuclv Jul 16 '15 at 4:03
1

GParted uses a range of tools (some I think are inbuilt, but most probably rely on external utilities (e.g ntfsprogs). It is packaged and included in most Linux distros.

As far as I can tell it can support checking and repairing FAT32, NTFS and HFS+. FAT32 and NTFS both can be fixed - with NTFS I think there is a flag set so that if a Windows system accesses it checks it itself before using it.

ExFAT support is still limited in Linux, but there appears to be exfatfsck which can scan for errors but can't fix them.

HFS and HFS+ support is available, but I think only HFS+ can be fixed in some way as it can journalling filesystem, (Not sure here as I don't use Macs etc)

When it is installed, you can check what it supports using the Filesystem Support Window:

Filesystem support window screenshot

More information can be found here, and more screen-shots can be found here

  • Of course I know about GParted. But GParted uses fsck.vfat (dosfsck) and ntfsfix. Checking and reparing of HFS and HFS+ is not full too. Checking and reparing of exfat is impossible for GParted. So, your answer can't help me. – user1742529 Jul 12 '15 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.