1. 程式人生 > >ubuntu不能訪問windows中的檔案解決辦法

ubuntu不能訪問windows中的檔案解決辦法

ubuntu不能訪問windows中的檔案 出現不能訪問某個盤時(例如: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.

解決辦法:

開啟終端:如果沒有安裝ntfs-3g就要安裝:sudo apt-get install ntfs-3g
 

修復掛載錯誤的相應的分割槽如提示中的/dev/sda8,輸入:

sudo ntfsfix /dev/sda8

回車就可以了。