No.1 问题描述:在Winows10下安装了Ubuntu 16.04突然发现在进入Ubuntu的系统的时候无法挂载Windows系统的磁盘的错误提示如下:
Error mounting /dev/sda2 at /media/love/Mis Archiivos: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/love/Mis Archiivos"' 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
No.2 参考的解决方案:
使用ntfsfix这个命令解决,在软件包ntfs-3g中,因此需要先安装此软件包:
sudo apt-get installntfs-3g
安装成功后,修复对应的ntfs分区(即错误中报出的分区名称):
sudo ntfsfix /dev/sda2
以上的操作之后解决了描述的问题。