您的位置:首页 > 其它

安装双系统后Ubuntu下不能访问windows下磁盘解决方案

2018-04-04 11:03 603 查看
为了开发,我的电脑安装了双系统,win10+Ubuntu。在linux下打开windows的NTFS硬盘总是提示出错了:

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.


win8以上有快速启动功能占用了磁盘,ubuntu不能访问。

解决方案:如果没有安装ntfs-3g就要安装,修复挂载错误的相应的分区如提示中的/dev/sda8:

其中/dev/sda8 是你windows下每个磁盘的代号,你点击一下看看其是多少,然后用命令修复挂载错误。

sudo apt-get install ntfs-3g
sudo ntfsfix /dev/sda2
sudo ntfsfix /dev/sda3
sudo ntfsfix /dev/sda8


如果遇到这种错误:是系统盘错误:

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,关闭快速启动,关闭办法是进入windows控制面板,在电源管理中,选择关闭盖子的功能,更改不能更改的选项,去掉快速启动的钩。

重启Linux。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu
相关文章推荐