zoukankan      html  css  js  c++  java
  • ubuntu 無法掛載ntfs分區

    今天重新進入ubuntu中,突然發現windows下D,E,F分區無法掛載,

    提示

    Error mounting /dev/sda6 at /media/gaoyuan/文檔: Command-line`mount -t "ntfs" -o"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177""/dev/sda6" "/media/gaoyuan/文檔"' exited with non-zero exit status14: The disk contains an unclean file system (0, 0).
    Metadata kept in Windows cache, refused to mount.
    Failed to mount '/dev/sda6': Operation not permitted
    The NTFS partition is in an unsafe state. Please resume andshutdown
    Windows fully (no hibernation or fast restarting), or mount thevolume
    read-only with the 'ro' mount option.

    輸入

    sudo fdisk -l
    


    顯示的是Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xc3ffc3ff DeviceBoot Start End Blocks Id System
    /dev/sda1 * 63 104872319 52436128+ 7 HPFS/NTFS/exFAT
    /dev/sda2 104872381 976771071 435949345+ f W95 Ext'd (LBA)
    /dev/sda5 104872383 541101329 218114473+ 7 HPFS/NTFS/exFAT
    /dev/sda6 541101393 892881984 175890296 7 HPFS/NTFS/exFAT
    /dev/sda7 922179584 922568703 194560 83 Linux
    /dev/sda8 922570752 930381823 3905536 82 Linux swap / Solaris
    /dev/sda9 930383872 976771071 23193600 83 Linux
    /dev/sda10 892882944 922177535 14647296 83 Linux Partition table entries are not in disk order

    從網上搜出 sudo ntfsfix 命令

    嘗試輸入

    sudo ntfsfix /dev/sda6
    


    gaoyuan@gaoyuan-Rev-1-0 ~$ sudo ntfsfix /dev/sda6
    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/sda6 was processed successfully.

    转自:http://blog.csdn.net/conanyang/article/details/5336941

  • 相关阅读:
    DataAnnotations
    使用BizTalk实现RosettaNet B2B So Easy
    biztalk rosettanet 自定义 pip code
    Debatching(Splitting) XML Message in Orchestration using DefaultPipeline
    Modifying namespace in XML document programmatically
    IIS各个版本中你需要知道的那些事儿
    关于IHttpModule的相关知识总结
    开发设计的一些思想总结
    《ASP.NET SignalR系列》第五课 在MVC中使用SignalR
    《ASP.NET SignalR系列》第四课 SignalR自托管(不用IIS)
  • 原文地址:https://www.cnblogs.com/bt575876212/p/3875664.html
Copyright © 2011-2022 走看看