【Ubuntu】win10和Ubuntu16.04双系统无法访问win10磁盘

来源:互联网 发布:数据挖掘和搜索 编辑:程序博客网 时间:2024/05/27 16:41

问题描述


在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 permittedThe NTFS partition is in an unsafe state. Please resume and shutdownWindows fully (no hibernation or fast restarting), or mount the volumeread-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/sda2sudo ntfsfix /dev/sda3

如果遇到这种错误

Mounting volume... Windows is hibernated, refused to mount.FAILEDAttempting to correct errors...Processing $MFT and $MFTMirr...Reading $MFT... OKReading $MFTMirr... OKComparing $MFTMirr to $MFT... OKProcessing of $MFT and $MFTMirr completed successfully.Setting required flags on partition... OKGoing to empty the journal ($LogFile)... OKWindows is hibernated, refused to mount.Remount failed: Operation not permitted

说明Windows还是处于高级休眠的状态,使用上面的方法解决即可

原创粉丝点击