zoukankan      html  css  js  c++  java
  • linux下挂载NTFS分区错误修复

    今天在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 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的状态是高级休眠,试着使用ntfsfix修复一下,

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

     

    sudo apt-get install ntfs-3g

     

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

    sudo ntfsfix /dev/sda1
    
    sudo ntfsfix /dev/sda8

    修复分区错误,结果呢,

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

    wangbo@Idina:~/temp$ sudo ntfsfix /dev/sda8
    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/sda8 was processed successfully.

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

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

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

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

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

     

  • 相关阅读:
    FW: MBA的学费一般在多少?学MBA有啥用?
    【悟】资本思维:这才是真正"赚大钱的逻辑"
    关于印发《北京市引进人才管理办法(试行)》的通知
    基于wordpress电商解决方案 + POS在线轻量级系统
    SAP Fasion FMS solution 时尚商品行业解决方案
    SAP IS-Retail Promotion and POS Bonus Buy integration
    SAP CARR for retails solution SAP零售集成方案
    Forest-一款比httpClient,okhttp更优雅人性化的http请求组件
    IDEA 日志插件 MyBatis Log Plugin 在线格式化日志工具
    Jenkins ERROR: Server rejected the 1 private key(s)
  • 原文地址:https://www.cnblogs.com/shixinzei/p/8489239.html
Copyright © 2011-2022 走看看