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.

mkyong

Founder of Mkyong.com, passionate Java and open-source technologies. If you enjoy my tutorials, consider making a donation to these charities.

19 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Felipe Calegario
7 years ago

Thanks!

loltop
7 years ago

This saved all my data. Thanks!

Shar
7 years ago

‘Refusing to operate on read-wrte mounted device’

Hello
7 years ago

great job.

Bruno Moreira
7 years ago

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

Zaheer uddin Babar
8 years ago

Thanks a lot!!!

chino land
10 years ago

me sirvio gracias por el aporte!!!

Eduardo Oliveira
10 years ago

Thank you very much!

Paulo Pereira de Oliveira
10 years ago

Thank you!

Solved my problem!

this is me
10 years ago

Thanks, solved my problem

Karunakar Reddy Katta
11 years ago

thank you very much…..solved my problem

Rad
11 years ago

Cheers mate! Helped me a lot 🙂

Gustavo
11 years ago

Thank you man! You helped me a lot!

Edwin Saavedra
11 years ago

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

Luiz
11 years ago

Thank you! Solved my problem!

Robin
11 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
11 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
11 years ago
Reply to  Knoker

Yes, Windows 8.1 , thanks for your feedback.

narasimha
10 years ago
Reply to  mkyong

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