码迷,mamicode.com
首页 > 其他好文 > 详细

ubuntu 無法掛載ntfs分區

时间:2014-07-29 17:27:32      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:blog   http   os   io   art   ar   linux   line   

今天重新進入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

ubuntu 無法掛載ntfs分區,布布扣,bubuko.com

ubuntu 無法掛載ntfs分區

标签:blog   http   os   io   art   ar   linux   line   

原文地址:http://www.cnblogs.com/bt575876212/p/3875664.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!