The disk contains an unclean file system (0, 0). NTFS error on Linux

Issue

You are trying to mount an NTFS partition and the console is throwing the below error. Let’s see how to fix this.

The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda3': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Resolution

To solve this issue, run the below command from a terminal as root. Please make sure that the filesystem is not mounted not even in read-only mode.

ntfsfix /dev/sda3

Output

root@ilak1:~# ntfsfix /dev/sda3

 

Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda3 was processed successfully.

That’s it, Now mount your NTFS partitions.

0 0 votes
Article Rating
Subscribe
Notify of
guest
6 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Democrito
6 years ago

Thanks a lot. It solved the problem with my disk.

Jagadeesh MV
Jagadeesh MV
4 years ago

Great! it helped. Thank you.

anurudh kumar
anurudh kumar
4 years ago

Now this comes after your command line execution:

Mounting volume… Error opening read-only ‘/dev/sda7’: Permission denied
FAILED
Attempting to correct errors… Error opening read-only ‘/dev/sda7’: Permission denied
FAILED
Failed to startup volume: Permission denied
Error opening ‘/dev/sda7’: Read-only file system
Volume is corrupt. You should run chkdsk.

Is there any way to completely delete windows and its backup file.
or change the file type system?

Kumar anurudh
Kumar anurudh
4 years ago
Reply to  Jobin Joseph

Yes I ran your command, but it didn’t work that time, later on I tried that one more time and gut successfully changed the permission.

Volker
Volker
3 years ago

Great help!
I was following this guide
https://youtu.be/PxWx36AeEu8
to reset a Windows password using a Linux live CD. But because of the NTFS issue, the Windows partition would only mount read-only.
Thanks!

6
0
Would love your thoughts, please comment.x
()
x
Scroll to Top