Solved: Check a ntfs file system in linux

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Solved: Check a ntfs file system in linux

Post by mister_v »

Hi,

Anyone knows how to do a file check on a ntfs-partition in linux?

I tried:

Code: Select all

sudo fsck /dev/sdf1
fsck from util-linux-ng 2.17.2
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sdf1
Without success
Last edited by mister_v on Sun Apr 15, 2012 4:03 am, edited 1 time in total.
Chris
Site Admin
Posts: 129
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: Check an ntfs file system in linux

Post by Chris »

As far as I know, it isn't supported yet.

Best is to connect your disk to Windows system and do the check.
Chris
Site Admin
Posts: 129
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: Check an ntfs file system in linux

Post by Chris »

I did found a program that might work: ntfsfix.
Desription:
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental
NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.

You may run ntfsfix on an NTFS volume if you think it was damaged by Windows or some other way and it cannot be mounted.
when run it gives:

Code: Select all

sudo ntfsfix /dev/sdf1
[sudo] password for user: 
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
NTFS volume version is 3.1.
NTFS partition /dev/sdf1 was processed successfully.

Perhaps this helps.
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: Check an ntfs file system in linux

Post by mister_v »

Thanks for the info.

Did a scan on windows machine,
and everything is fine.
Post Reply