ubuntu不能访问windows中的文件

时间:2021-07-26 04:20:14

出现不能访问某个盘时(例如:OS)

Error mounting /dev/sda5 at /media/user/OS: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/zmy/OS"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda5': 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.

解决办法:

  1. 打开终端:如果没有安装ntfs-3g就要安装:sudo apt-get install ntfs-3g

  2. 修复挂载错误的相应的分区如提示中的/dev/sda8,输入:

    sudo ntfsfix /dev/sda8

    回车就可以了。

相关文章