How to Fix A NTFS Partition With "fsck"
Posted: Thu 24 May 2012, 22:07
Many Puppy users may already be aware of this:
Puppy can be used to Fix A NTFS Partition With "fsck"
Did you know that you can fix a "dirty" NTFS flagged drive using your Puppy?
NTFS drives get dirty usually when the MS system was shtdown improperly. And MS automatically corrects these, unless you skip the MS boot-time message, upon a reboot usually using Microsoft's chkdsk tool. (Believe it or not, an improper shutdown can leave a Linux drive "dirty", too)
Sometime/often-times we may encounter a dirty NTFS drive.
Out of the box (OOTB), Puppy/Linux does not make attempts to correct these. But, there are tools that come with Puppy designed to provide assistance when needed. The Linux tool to "clear" a dirty drive is fsck. (This is the Linux flavor of MS's chkdsk.)
Since all PUPs come with NTFS support built-in, YOU have a requirement to insure that fsck can find this support when asked to clean a dirty partition.
To do this, you MUST add 2 missing symlinks:Having done this, YOU CAN CLEAN THE NTFS PARTITION (in the same fashion you would for a Linux drive):
Here to help
Additional notes
Puppy can be used to Fix A NTFS Partition With "fsck"
Did you know that you can fix a "dirty" NTFS flagged drive using your Puppy?
NTFS drives get dirty usually when the MS system was shtdown improperly. And MS automatically corrects these, unless you skip the MS boot-time message, upon a reboot usually using Microsoft's chkdsk tool. (Believe it or not, an improper shutdown can leave a Linux drive "dirty", too)
Sometime/often-times we may encounter a dirty NTFS drive.
Out of the box (OOTB), Puppy/Linux does not make attempts to correct these. But, there are tools that come with Puppy designed to provide assistance when needed. The Linux tool to "clear" a dirty drive is fsck. (This is the Linux flavor of MS's chkdsk.)
Since all PUPs come with NTFS support built-in, YOU have a requirement to insure that fsck can find this support when asked to clean a dirty partition.
To do this, you MUST add 2 missing symlinks:
Code: Select all
ln s /usr/bin/ntfsfix /usr/sbin/fsck.ntfs3g
ln s /usr/bin/ntfsfix /usr/sbin/fsck.ntfs
Code: Select all
fsck /dev/sdb1
Additional notes
Example of Puppy with links to NTFSFIX missing! wrote:bash-4.1# fsck /dev/sdg1
fsck 1.41.14 (22-Dec-2010)
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sdg1
<root> ~
bash-4.1# echo "The above results when fsck does NOT KNOW where his ntfsfix support is!"
The above results when fsck does NOT KNOW where his ntfsfix support is!
Use filemanager to make a link from /usr/vin
Example with links to FSCK set for fixing NTFS! wrote:<root> ~
bash-4.1# fsck /dev/sdg1
fsck 1.41.14 (22-Dec-2010)
Mounting volume... 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
NTFS volume version is 3.1.
NTFS partition /dev/sdg1 was processed successfully.