Error mounting /dev/sda6 at /media/xxx/xx: 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.
1-打开终端
2-sudo fdisk -l //查看分区挂载情况;以下是我的电脑的情况
设备 启动 起点 终点 块数 Id 系统
/dev/sda1 * 63 125837144 62918541 7 HPFS/NTFS/exFAT
/dev/sda2 125837310 625141759 249652225 f W95 扩展 (LBA)
/dev/sda5 293636096 459386879 82875392 7 HPFS/NTFS/exFAT
/dev/sda6 459388928 625141759 82876416 7 HPFS/NTFS/exFAT
/dev/sda7 125837312 281339903 77751296 83 Linux
/dev/sda8 281341952 293636095 6147072 82 Linux 交换 / Solaris
可以看出3,4,5,6是windows的中可以看到的盘盘。
3.$sudo mkdir /media/xxx/yy //xxx为你的hostname(canfly),可以说是用户名吧,yyy(D)是你要把挂载的文件名,可以是E,D,F ... 跟windows 相应,也可以其他的
4.$mount -t ntfs-3g /dev/sda4 /media/xxx/yy/ -o force // 参照网友意见而来
但是这个命令在我的机子会出现这样的错误:Windows is hibernated, refused to mount.
Failed to mount '/dev/sda4': 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.
然后把-o 改为 -ro;
就ok了
注意:
装有windows系统的盘最好不要挂载,否测可能会出现无法打开windows系统的惨剧!如果已经挂载了它,就用umount 撤销挂载!这样windows自我修复后就可以使用了,不过要话费些不必要的时间!