The disk contains an unclean file system (0, 0). NTFS error on Linux
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.
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.
[email protected]:~# 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.
6 thoughts on “The disk contains an unclean file system (0, 0). NTFS error on Linux”
Thanks a lot. It solved the problem with my disk.
Great! it helped. Thank you.
Now this comes after your command line execution:
Mounting volume… Error opening read-only ‘/dev/sda7’: Permission denied
Attempting to correct errors… Error opening read-only ‘/dev/sda7’: Permission denied
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?
Are you sure that you ran the command over the NTFS volume ?
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.
I was following this guide
to reset a Windows password using a Linux live CD. But because of the NTFS issue, the Windows partition would only mount read-only.