Skip to content

Instantly share code, notes, and snippets.

@wesinator
Created March 15, 2020 15:47
Show Gist options
  • Save wesinator/932f55ad829b6180572d4628dd1d56a6 to your computer and use it in GitHub Desktop.
Save wesinator/932f55ad829b6180572d4628dd1d56a6 to your computer and use it in GitHub Desktop.
ntfsfix example
sudo ntfsfix /dev/sdb3
[sudo] password for ubuntu: 
Mounting volume... $MFTMirr does not match $MFT (record 0).
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 0...OK
Correcting differences in $MFTMirr record 1...OK
Correcting differences in $MFTMirr record 2...OK
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/sdb3 was processed successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment