博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux下挂载NTFS分区错误修复
阅读量:7121 次
发布时间:2019-06-28

本文共 2514 字,大约阅读时间需要 8 分钟。

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

Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda1" "/media/wangbo/24F02EECF02EC3C0"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.Failed to mount '/dev/sda1': 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.

 

恩,挂载出错,好像是因为win8的状态是高级休眠,试着使用ntfsfix修复一下,

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

 

sudo apt-get install ntfs-3g

 

因为我已经安装过了,所以。。。

[sudo] password for wangbo: Reading package lists... DoneBuilding dependency tree       Reading state information... Donentfs-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-secretstorageUse '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/sda8

修复分区错误,结果呢,

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

wangbo@Idina:~/temp$ sudo ntfsfix /dev/sda8Mounting volume... The disk contains an unclean file system (0, 0).Metadata kept in Windows cache, 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)... OKChecking the alternate boot sector... OKNTFS volume version is 3.1.NTFS partition /dev/sda8 was processed successfully.

但是在修复sda1的时候,因为win8高级休眠,修复失败了。。。

wangbo@Idina:~/temp$ sudo ntfsfix /dev/sda1Mounting 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

恩,解决办法,进win8,关闭快速启动,恩,对,关了它就ok

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

转载于:https://www.cnblogs.com/wangbo2008/p/3782730.html

你可能感兴趣的文章
java中父类对象引用指向子类对象
查看>>
关于协程
查看>>
js中call与apply用法
查看>>
swiper保存
查看>>
CentOS 7 防火墙设置
查看>>
内存中一个图片的指针IntPtr
查看>>
[NOI1995]石子合并
查看>>
操作函数
查看>>
最高科技——疯狂的前缀和
查看>>
<积极思考的力量 >读书笔记
查看>>
dp or 贪心 --- hdu : Road Trip
查看>>
基于SharePoint的单点登录的实现
查看>>
目标检测框架网络模型分析(三 王者归来)
查看>>
使用System.arraycopy()容易忽略的问题
查看>>
C++的指针使用心得
查看>>
Scene
查看>>
django之BBS-登录与注册功能-72
查看>>
php中判断是否可写?
查看>>
Flink 1.6.0 Windows操作
查看>>
hdu 5445 多重背包
查看>>