Monday, October 17, 2016

Unable to mount NTFS partition (no hibernation)




I have Windows and Linux installed on SSD, and then, I have second HDD with data. There is no Windows installation on it, just NTFS partition with data (and second partition Lenovo Recovery, but that's all and I don't need it). When I try to open it in Linux, I get folowing error:




Error mounting /dev/sda2 at /media/adam/Data: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/adam/Data"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda2': 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.


But there couldn't be any hiberfile, as there is no Windows installation on this drive. I need to have read and also write permission on this drive. How could I do it?

Another thing I noticed is that the partition has msftdata flag, but when I open gparted and choose "Manage flags" and remove it, it doesn't remove.
How to mount the partition in write mode?
Thanks.



EDIT: This is not duplicate of Unable to mount Windows (NTFS) filesystem due to hibernation as there are no Windows or hiberfile.



Run sudo ntfsfix /dev/sda2 and you will be able to mount the partition.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...