今天在linux下打开win的NTFS硬盘总是提示出错了,而且是全部的NTFS盘都出错,其中sda3错误显示如下:

1
2
3
4
5
Error mounting /dev/sda3 at /media/struggle6688/164AFCB44AFC91AB: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/struggle6688/164AFCB44AFC91AB"' exited with non-zero exit status 14: Windows is hibernated, 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.

出错原因可能是因为Win10的状态是高级休眠,笔记本左下角的休眠灯一直亮着,想想可能是昨晚进了一次Win10之后点了关机,win10设置的原因,关机不彻底,笔记本一直处于高级休眠状态,所以Ubuntu无法访问Win10的磁盘。

我的解决办法是:

先进入Win10,然后点重启(注意是重启,而不是先关机再点开机键,如果点关机,Win10仍旧是高级休眠),启动的时候选择Ubuntu系统,问题就解决了。。。

如果还是无法解决,就可以借鉴别人提供的方法:使用ntfsfix修复一下。

如果没有安装得先安装,执行

sudo apt-get install ntfs-3g

然后对出错的盘符分别执行:
sudo ntfsfix /dev/sda2
sudo ntfsfix /dev/sda3

如果遇到这种错误:

1
2
3
4
5
6
7
8
9
10
11
12
Mounting volume... Windows is hibernated, refused to mount.
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Windows is hibernated, refused to mount.
Remount failed: Operation not permitted

还是因为win10处于高级休眠状态
解决办法,进win10,关闭快速启动关闭办法是控制面板,在电源管理中,选择关闭盖子的功能,更改不能更改的选项,去掉快速启动的钩

参考链接:https://blog.csdn.net/eagle51/article/details/52890699