zoukankan      html  css  js  c++  java
  • 解决linux(ubuntu18)下无法挂载ntfs磁盘,并读写挂载硬盘

    首先需要有ntfs-3g,没有的话sudo apt-get install ntfs-3g

    挂载硬盘:

    chen@ilaptop:/$ sudo mount -o rw,remount /dev/sdb1

    报错:

    Remounting is not supported at present. You have to umount volume and then mount it once again.

    再挂载硬盘:

    chen@ilaptop:/$ sudo mount /dev/sdb1

    又报错:
    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

    修复!!!:

    chen@ilaptop:/$ sudo ntfsfix /dev/sdb1

    修复成功:

    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/sdb1 was processed successfully.

    卸载硬盘:

    chen@ilaptop:/$ sudo umount /dev/sdb1

    读写挂载硬盘

    chen@ilaptop:/$ sudo mount -o rw /dev/sdb1

  • 相关阅读:
    吃一堑长一智
    人做事 天看着
    【转贴】英语中12个月名称的由来
    4199,流氓中的流氓
    【转贴】看D片容易误解的10个词组
    【转载】中国小吃(英文表达)
    拼死拼活为了啥!
    GCII 1.4对1.31改进
    上古III的汉化和美化修正
    linux下tar的用法
  • 原文地址:https://www.cnblogs.com/ilovepan/p/10055661.html
Copyright © 2011-2022 走看看