I recently was rescuing data from my Windows 10 laptop, and after booting off a Linux live usb, I couldn’t mount the hard drive. I opened the File Manager, and clicked on the drive, which shows on the left column, and then error message:
Unable to access “drive"
Error mounting /dev/sda4 at /media/ububtu/Media Center: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda6" "/media/rolindroy/Media Center"' 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/sda6': 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
This error message comes from hard shut-down of your computer or laptop. I which case the computer doesn’t have the time to properly clear the cache in your hard drive. Therefore, when mounting from Linux you will experience errors. So if you ever come across this error, here’s the fix
1 – Open a terminal
2 – type
sudo ntfsfix /dev/sdaX #where X is the number of your device
sudo mount -o rw /dev/sdaX /mount_point