我的電腦是在Windows 10下安裝的Ubuntu 14.04雙系統,今天進入Ubuntu系統訪問Windows 10 磁碟,出現如下錯誤: Error mounting /dev/sda1 at /media/linuxidc/WIN7: Command-line `mount -t "ntfs ...
我的電腦是在Windows 10下安裝的Ubuntu 14.04雙系統,今天進入Ubuntu系統訪問Windows 10 磁碟,出現如下錯誤:
Error mounting /dev/sda1 at /media/linuxidc/WIN7: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda1" "/media/linuxidc/WIN7"' 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/sda1': 不允許的操作
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.
可能原因:上一次使用Windows 10後使電腦睡眠,沒有完全關機,這次開機直接進入Ubuntu系統,訪問Windows 10磁碟報錯。其實關機重啟就可以,但是有時候不可以,
解決方法:
1. 在終端輸入如下命令,查看分區掛載情況
sudo fdisk -l
2. 修複掛載錯誤的相應的分區,如提示中的/dev/sda5,輸入:
sudo ntfsfix /dev/sda5
此刻就能讀寫硬碟了