在Ubuntu 16.04.1中挂载NTFS分区时出错

昨天,我在旧的HP Pavilion G4笔记本上安装了Ubuntu 16.04。 硬盘有3个NTFS分区:

  • Windows Loader
  • Windows系统
  • 数据

笔记本电脑的用户不确定如何使用Ubuntu。 她住在乌拉圭,很多人在那里使用Linux和Ubuntu。 因此,我想给她一个旧的NTFS数据分区,以便在Linux上使用它。

创建很简单,但如果我尝试用文件管理器打开分区,可能是Nautilus,我得到这个:

/media/pilar/data安装/dev/sda3时出错:
命令行

 mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda3" "/media/pilar/data" 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/sda3': 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. 

我用gparted检查了NTFS分区。 没错。

为什么Ubuntu无法挂载此分区? 我更喜欢只用GUI系统解决这个问题。

出于某种原因,Windows决定将hibernate数据放入驱动器中,即使在某些情况下完全关闭后,它也似乎没有存储。 Ubuntu不会将这些作为安全function安装,以防止丢失hibernate数据。

但是,正如我之前所说的,Windows并不总是在您要挂载的分区上实际拥有hibernate数据。 您可能也不关心hibernate数据,您真的需要进入Windows分区。

这就是ntfsfix用武之地。它删除了hibernate数据并允许Ubuntu挂载分区。 跑:

 sudo ntfsfix /dev/sdXY 

(其中X是驱动器号, Y是分区号)
在NTFS分区上。 它将发挥其魔力,并为您提供可安装的NTFS驱动器。