Linux下无法挂载U盘

大概的错误信息是这样的:

Error mounting /dev/sdb4 at /media/xxx/xx: Command-line`mount -t "ntfs" -o"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177""/dev/sdb4" "/media/eden/文檔"' 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/sdb4': 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. 打开终端,输入sudo fdisk -l 可列出所有的分区情况,找到自己U盘的分区;

  2.  sudo ntfsfix /dev/sdb4

OK 问题解决

原文地址:https://www.cnblogs.com/lwmp/p/7121377.html