Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to fsck/chkdsk an NTFS drive from Linux?

share|improve this question
add comment

3 Answers

up vote 7 down vote accepted

Yes. This is handled by fsck on recent releases. If the partition is not listed in /etc/fstab, then you will likely need to tell it the partition type. I've used this from a Linux CD to recover a partition Windows wouldn't boot from.

share|improve this answer
3  
Although as noted in the man page for ntfsfix/fsck.ntfs, it is not a Linux version of chkdsk and only checks for certain kinds of obvious problems on the disk. –  SabreWolfy Dec 19 '11 at 10:03
add comment

If you have NTFSProgs installed, you should be able to run fsck.ntfs or fsck -t ntfs to fsck an NTFS drive.

share|improve this answer
    
Running Debian 6.0.3, just installed ntfsprogs, no fsck.ntfs installed, and when running fsck with -t ntfs, get "fsck.ntfs not found". So don't think the two are related. –  Zayne S Halsall Dec 17 '11 at 15:00
    
@ZayneSHalsall In Debian, it happens to be a symlink to ntfsfix which is in ntfsprogs. I guarantee you that you will be able to run ntfsfix if ntfsprogs installed properly. –  squircle Dec 27 '11 at 5:51
add comment

Unfortunately the ntfsfix tool is very limited compared to Microsoft's chkdsk. Try to get a Windows install going - preferably with the newest version of Windows as Microsoft is presumably constantly improving chkdsk (I hope..) New versions of Windows are often available for free as trials. If the problem is in a USB disk you can try installing Windows in something like VirtualBox and give the VM control of the USB device.

share|improve this answer
    
Or use Ultimate Boot CD for Windows. It's a live Windows XP CD with lots of recovery tools. That's how I solved my problem (corrupted NTFS partition). I tried using the ntfsck program included in the Parted Magic live USB, but I got an error saying Boot sector: bad NTFS magic. Segmentation fault. –  dario_ramos Apr 30 '12 at 23:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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