標籤:ubuntu mount ntfs-3g ntfsfix windows
問題描述
裝了Windows 8.1與Ubuntu雙系統後,在Ubuntu系統下想進入Windows的某個NTFS分區,點擊時卻出現下面錯誤:
Error mounting /dev/sda2 at /media/love/Mis Archiivos: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/love/Mis Archiivos"‘ 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/sda2‘: 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.
解決方案
使用ntfsfix這個命令解決,在軟體包ntfs-3g中,因此需要先安裝此軟體包:
sudo apt-get install ntfs-3g
安裝成功後,修複對應的ntfs分區(即錯誤中報出的分區名稱):
sudo ntfsfix /dev/sda2
參考資料
Problem to enter in NTFS partition