【ubuntu】解決行動硬碟掛載不上的問題

代码诠释的世界發表於2024-07-22

一、問題

我的是sda2,反正報錯一模一樣

二、解決方法

1、安裝ntfs-3g

sudo apt install ntfs-3g -y

2、嘗試掛載

sudo mount -t ntfs /dev/sda2 /media/tester/1T-WD

掛不上,報錯基本也一樣

3、重啟電腦

發現也沒用

4、修復磁碟

$ sudo ntfsfix /dev/sda2
Mounting volume... $MFTMirr does not match $MFT (record 3).
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 3...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/sda2 was processed successfully.

5、最後開啟了

參考連結:

https://blog.csdn.net/shallow72/article/details/136968051

相關文章