问题描述
在Ubuntu系统下访问Windows磁盘时,出现如下错误
Error mounting /dev/sda3 at /media/widiot/164AFCB44AFC91AB: Command-line `mount -t "ntfs" -o
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2"
"/media/widiot/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的状态是高级休眠,也就是在Windows下关机然后再开机进入的Ubuntu系统,而不是重启
解决方法
更改Windows设置
先进入Win10,然后点重启,启动的时候选择Ubuntu系统,这时候应该能访问Windows磁盘
如果不希望Windows关机时进入高级休眠,需要关闭快速启动,关闭方法如下
电源选项->其他电源设置->选择电源按钮的功能->更改当前不可用的设置->取消勾选“启用快速启动”
ntfsfix修复磁盘
如果还是无法解决,就可以使用ntfsfix
修复磁盘
如果没有需要先安装,执行
sudo apt-get install ntfs-3g
然后对出错的盘符分别执行
sudo ntfsfix /dev/sda2
sudo ntfsfix /dev/sda3
如果遇到这种错误
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
说明Windows还是处于高级休眠的状态,使用上面的方法解决即可