1. 程式人生 > >Linux系統掛載錯誤的問題

Linux系統掛載錯誤的問題

原來的作業系統是win8和ubuntu16.04的雙系統,在linux上可以訪問win8系統上的檔案。但自從把win8免費升級為win10之後,訪問win系統就會出現錯誤。

以訪問windows系統的LENOVO盤為例,系統會彈出錯誤提示:

Unable to access “LENOVO”

Error mounting /dev/sda6 at /media/khan/LENOVO: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda5" "/media/khan/Windows8_OS"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda6': 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、在終端中輸入:
sudo ntfsfix /dev/sda6

注意: /dev/sda6 是掛載錯誤的相應分割槽,它也出現在錯誤提示中。