lenmom

博客园 首页 新随笔 联系 订阅 管理
sudo ntfsfix   {disk_partition}
sudo mount -o rw {disk_partition}

 

if error accours when execute command:

ntfsfix /dev/sda3

message:

Mounting volume... Error opening '/dev/sda3': Permission denied
FAILED
Attempting to correct errors... Error opening '/dev/sda3': Permission denied
FAILED
Failed to startup volume: Permission denied
Error opening '/dev/sda3': Permission denied
Volume is corrupt. You should run chkdsk.

 

Then try command

sudo ntfsfix -b -d /dev/sda3

and if the output shows as follows:

Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
Going to un-mark the bad clusters ($BadClus)... No bad clusters...OK
NTFS partition /dev/sda3 was processed successfully.

this would indicate fix successed.

posted on 2021-05-26 13:12  老董  阅读(1522)  评论(0)    收藏  举报