原来的操作系统是win8和ubuntu16.04的双系统,在linux上可以访问win8系统上的文件。但自从把win8免费升级为win10之后,访问win系统就会出现错误。
以访问windows系统的LENOVO盘为例,系统会弹出错误提示:
Unable to access “LENOVO”
Error mounting /dev/sda6 at /media/khan/LENOVO: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda5" "/media/khan/Windows8_OS"' exited with non-zero exit status 14: Windows is hibernated, 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.
解决方法:
1、打开终端,检查是否安装了ntfs-3g。
如没有安装,输入:
sudo apt-get install ntfs-3g
2、在终端中输入:
sudo ntfsfix /dev/sda6
注意: /dev/sda6 是挂载错误的相应分区,它也出现在错误提示中。