Ubuntu 掛載Windows ntfs分區(qū)報(bào)錯(cuò)的解決方法
目錄
一、錯(cuò)誤
二、解決方法
一、錯(cuò)誤
1.博主在掛載windows系統(tǒng)D盤時(shí)報(bào)錯(cuò),/dev/sda1指的是D盤,掛載的目錄是/mnt/D:
sudo mount -t ntfs /dev/sda1 /mnt/D -o iocharset=utf8,umask=0
錯(cuò)誤為
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.
二、解決方法
1.終端輸入如下指令修復(fù)
sudo ntfsfix /dev/sda1
2.如下顯示
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/sda1 was processed successfully.
3.再次運(yùn)行掛載命令則可以成功掛載!!
sudo mount -t ntfs /dev/sda1 /mnt/D -o iocharset=utf8,umask=0
ubuntu Windows
版權(quán)聲明:本文內(nèi)容由網(wǎng)絡(luò)用戶投稿,版權(quán)歸原作者所有,本站不擁有其著作權(quán),亦不承擔(dān)相應(yīng)法律責(zé)任。如果您發(fā)現(xiàn)本站中有涉嫌抄襲或描述失實(shí)的內(nèi)容,請(qǐng)聯(lián)系我們jiasou666@gmail.com 處理,核實(shí)后本網(wǎng)站將在24小時(shí)內(nèi)刪除侵權(quán)內(nèi)容。