zoukankan      html  css  js  c++  java
  • Error mounting /dev/sda4 , Metadata kept in Windows cache, refused to mount的解决方法

    今天尝试mount读取Windows盘上的数据时,遇到了这个错误:

    root@pityhero:/# mount -o rw /dev/sda4 /mnt
    The disk contains an unclean file system (0, 0).
    Metadata kept in Windows cache, refused to mount.
    Falling back to read-only mount because the NTFS partition is in an
    unsafe state. Please resume and shutdown Windows fully (no hibernation
    or fast restarting.)

    百度了一下,发现好像是因为Win10的快速启动导致的。

    可以启动windows,选择重启,再启动linux。

    当然,也可以治本:

      sudo ntfsfix /dev/sda#

    root@pityhero:/# sudo ntfsfix /dev/sda4
    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/sda4 was processed successfully.

    结束修复后,mount成功:

    root@pityhero:/# mount -o rw /dev/sda4 /mnt
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 No sacrifice , no victory.
  • 相关阅读:
    css面试题目
    5. React-Router05 BrowserRouter 和hashrouter
    5. React-Router03 withRouter
    5. React-Router01
    CVE-2019-0708—微软RDP远程桌面代码执行漏洞复现
    正则表达式学习汇总
    CTF---PHP安全考题
    快速搭建主动诱导型开源蜜罐框架系统--hfish
    python--爬取网页存在某字符
    Linux 实用指令之查看端口开启情况
  • 原文地址:https://www.cnblogs.com/pityhero233/p/8145133.html
Copyright © 2011-2022 走看看