為了開(kāi)發(fā),我的電腦安裝了雙系統(tǒng),win10+Ubuntu。在linux下打開(kāi)windows的NTFS硬盤(pán)總是提示出錯(cuò)了:
Error mounting /dev/sda3 at
/media/struggle6688/164AFCB44AFC91AB: Command-line `mount -t "ntfs" -o
"uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177"
"/dev/sda2" "/media/struggle6688/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.
win8以上有快速啟動(dòng)功能占用了磁盤(pán)倔撞,ubuntu不能訪問(wèn)。
解決方案:如果沒(méi)有安裝ntfs-3g就要安裝慕趴,修復(fù)掛載錯(cuò)誤的相應(yīng)的分區(qū)如提示中的/dev/sda8:
其中/dev/sda8 是你windows下每個(gè)磁盤(pán)的代號(hào)痪蝇,你點(diǎn)擊一下看看其是多少,然后用命令修復(fù)掛載錯(cuò)誤冕房。
sudo apt-get install ntfs-3g
sudo ntfsfix /dev/sda2
sudo ntfsfix /dev/sda3
sudo ntfsfix /dev/sda8
如果遇到這種錯(cuò)誤:是系統(tǒng)盤(pán)錯(cuò)誤:
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
關(guān)鍵看最后兩行躏啰,這是因?yàn)閣in10處于高級(jí)休眠狀態(tài)
解決辦法,進(jìn)win10耙册,關(guān)閉快速啟動(dòng)给僵,關(guān)閉辦法是進(jìn)入windows控制面板,在電源管理中详拙,選擇關(guān)閉蓋子的功能帝际,更改不能更改的選項(xiàng),去掉快速啟動(dòng)的鉤饶辙。
重啟Linux蹲诀。