首页 > 代码库 > Linux下不能进入windows的NTFS分区之挂载错误问题(error mounting)

Linux下不能进入windows的NTFS分区之挂载错误问题(error mounting)

问题描述

装了Windows 8.1与Ubuntu双系统后,在Ubuntu系统下想进入Windows的某个NTFS分区,点击时却出现下面错误:

Error mounting /dev/sda2 at /media/love/Mis Archiivos: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/love/Mis Archiivos"‘ exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount ‘/dev/sda2‘: 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.


解决方案

使用ntfsfix这个命令解决,在软件包ntfs-3g中,因此需要先安装此软件包:

sudo apt-get install ntfs-3g
安装成功后,修复对应的ntfs分区(即错误中报出的分区名称):

sudo ntfsfix /dev/sda2


参考资料

Problem to enter in NTFS partition