双系统:一个系统是Ubuntu 14.04,一个是win10;
使用Ubuntu时发现不能打开windows上面的磁盘分区,并报错如下:
Error mounting /dev/sda5 at /media/LX/study: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/LX/study"‘ 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/sda5‘: 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.
解决办法:
利用ntfs-3g修复挂载
1 安装ntfs-3g
sudo apt-get install ntfs-3g
2 修复挂载
sudo ntfsfix /dev/sda5
/dev/sda5: 我的磁盘/media/LX/study挂载到文件/dev/sda5
原文地址:http://blog.51cto.com/13589319/2121304