Main Tutorials

Ubuntu : Status 14: The disk contains an unclean file system

Dual boot Windows and Ubuntu, but Ubuntu is unable to access the Windows partition /dev/sdb3, shows the following error message :


Error mounting /dev/sdb3 ...
status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdb3': 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.

Solution

Not sure what is the root cause, may be Windows didn’t shutdown properly. To fix it, use ntfsfix to check and repair the NTFS disk.


$ sudo ntfsfix /dev/sdb3
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/sdb3 was processed successfully.

About Author

author image
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

Subscribe
Notify of
19 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Felipe Calegario
5 years ago

Thanks!

loltop
5 years ago

This saved all my data. Thanks!

Shar
5 years ago

‘Refusing to operate on read-wrte mounted device’

Hello
5 years ago

great job.

Bruno Moreira
5 years ago

Thank you! I had the some problem while updating windows.

Zaheer uddin Babar
6 years ago

Thanks a lot!!!

chino land
8 years ago

me sirvio gracias por el aporte!!!

Eduardo Oliveira
8 years ago

Thank you very much!

Paulo Pereira de Oliveira
8 years ago

Thank you!

Solved my problem!

this is me
8 years ago

Thanks, solved my problem

Karunakar Reddy Katta
8 years ago

thank you very much…..solved my problem

Rad
9 years ago

Cheers mate! Helped me a lot 🙂

Gustavo
9 years ago

Thank you man! You helped me a lot!

Edwin Saavedra
9 years ago

thank you so much! now opensuse is the best OS I’ve ever had

Luiz
9 years ago

Thank you! Solved my problem!

Robin
9 years ago

robinhoods@robinhoods:~$ sudo ntfsfix /dev/sdb5
Failed to determine whether /dev/sdb5 is mounted: No such file or directory
Mounting volume… Failed to access ‘/dev/sdb5’: No such file or directory
Error opening ‘/dev/sdb5’: No such file or directory
FAILED
Attempting to correct errors… Failed to access ‘/dev/sdb5’: No such file or directory
Error opening ‘/dev/sdb5’: No such file or directory
FAILED
Failed to startup volume: No such file or directory
Failed to access ‘/dev/sdb5’: No such file or directory
Error opening ‘/dev/sdb5’: No such file or directory
Volume is corrupt. You should run chkdsk.
robinhoods@robinhoods:~$

The driver have not been mounted yet
So how can we find and fix it?
Thanks

Knoker
9 years ago

Hello, great tutorial as usual, just wondering if it is windows 8?
Windows 8 is known to generate mount problems due to not completely shutting down but instead going in to a kind of hibernation to fasten the boot process..

mkyong
9 years ago
Reply to  Knoker

Yes, Windows 8.1 , thanks for your feedback.

narasimha
8 years ago
Reply to  mkyong

I need ur help…for copy the all folders in windows server to ubuntu14.04 server using java code