1. 程式人生 > >linux 不能開啟磁碟問題:Error mounting /dev/sda5 at /media/cc/Windows8_OS:

linux 不能開啟磁碟問題:Error mounting /dev/sda5 at /media/cc/Windows8_OS:

新裝的ubuntu發現打不開資料盤和D盤,是由於磁碟不能掛載,解決方法


錯誤:Error mounting /dev/sda5 at /media/cc/Windows8_OS: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda5" "/media/cc/Windows8_OS"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda5': 不允許的操作
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.

開啟終端,輸入
sudo ntfsfix /dev/sda18


[email protected]
:/home/cc# sudo ntfsfix /dev/sda18
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda18 was processed successfully.

就可以啦