1. 程式人生 > >【Ubuntu】win10和Ubuntu16.04雙系統無法訪問win10磁碟

【Ubuntu】win10和Ubuntu16.04雙系統無法訪問win10磁碟

問題描述

在Ubuntu系統下訪問Windows磁碟時,出現如下錯誤

Error mounting /dev/sda3 at /media/widiot/164AFCB44AFC91AB: Command-line `mount -t "ntfs" -o 
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" 
"/media/widiot/164AFCB44AFC91AB"' 
exited with non-zero exit status 14: Windows is hibernated, 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.

出錯原因可能是因為Win10的狀態是高階休眠,也就是在Windows下關機然後再開機進入的Ubuntu系統,而不是重啟

解決方法

更改Windows設定

先進入Win10,然後點重啟,啟動的時候選擇Ubuntu系統,這時候應該能訪問Windows磁碟

如果不希望Windows關機時進入高階休眠,需要關閉快速啟動,關閉方法如下

電源選項->其他電源設定->選擇電源按鈕的功能->更改當前不可用的設定->取消勾選“啟用快速啟動”

ntfsfix修復磁碟

如果還是無法解決,就可以使用ntfsfix修復磁碟

如果沒有需要先安裝,執行

sudo apt-get install ntfs-3g

然後對出錯的碟符分別執行

sudo ntfsfix /dev/sda2
sudo ntfsfix /dev/sda3

如果遇到這種錯誤

Mounting volume... Windows is hibernated, 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
Windows is hibernated, refused to mount.
Remount failed: Operation not permitted

說明Windows還是處於高階休眠的狀態,使用上面的方法解決即可