双系统访问window盘符出错

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


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的状态是高级休眠,可以使用ntfsfix修复一下,

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

sudo apt-get install ntfs-3g

 安装过程是这样的

[sudo] password for struggle6688: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ntfs-3g is already the newest version.
The following packages were automatically installed and are no longer required:
  gir1.2-appindicator3-0.1 gir1.2-javascriptcoregtk-3.0 gir1.2-webkit-3.0 gir1.2-xkl-1.0 python3-cairo
  python3-crypto python3-gi-cairo python3-icu python3-keyring python3-pyicu python3-secretstorage
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

安装好后,对原来挂载出错的NTFS盘分别执行

sudo ntfsfix /dev/sda1
sudo ntfsfix /dev/sda2


修复sda3的时候,成功修复。

struggle6688@YSC:~/new$ sudo ntfsfix /dev/sda3
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, 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
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda3 was processed successfully.


但是在修复sda2的时候,因为win10高级休眠,修复失败了

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,关闭快速启动

关闭办法是控制面板,在电源管理中,选择关闭盖子的功能,更改不能更改的选项,去掉快速启动的钩,nice,好了,重启进linux,ok

经常习惯性的直接关盖子。。

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值