[clue] NTFS logical structure corruption?

David L. Willson DLWillson at TheGeek.NU
Wed Mar 7 12:37:54 MST 2012


1) Use CHKDSK to repair the filesystem
2) Use TAKEOWN to take ownership of the files and directories you can't access.
3) Use ICACLS to give Administrators:Full Control and SYSTEM:Full Control on them.

That should clear all the problems.

If the directory is full of really-important-stuph, and you think you can't access the contents because of severe file-system damage, take a diagnostic (verbatim) copy of the filesystem before attempting the repair. (dd is great for this)

--
David L. Willson
Trainer, Engineer, Enthusiast
RHCE Network+ A+ Linux+ LPIC-1 Ubuntu
Mobile 720-333-LANS(5267)

This is a good time for a r3volution.

----- Original Message -----
> Attach the hard drive to the newest Windows OS based computer you can
> find. Win7 with all updates is newest, I think.
> 
> >From the CLI, run:
>    chkdsk x: /f/r/x
> where x: is the drive-letter of the file-system you want to repair.
> 
> More steps later. Please DON'T try to repair a borked NTFS from
> Linux. Linux is great at lots of things, but that's not one of them.
> 
> --
> David L. Willson
> Trainer, Engineer, Enthusiast
> RHCE Network+ A+ Linux+ LPIC-1 Ubuntu
> Mobile 720-333-LANS(5267)
> 
> This is a good time for a r3volution.
> 
> ----- Original Message -----
> > Hi all-- sorry if this isn't the right forum for this, but there's
> > an
> > Ubuntu thread so I thought I'd give it a shot.
> > 
> > A couple months ago my daughter's XP machine got infected with a
> > nasty
> > virus. After getting that all cleaned up, I discovered a
> > folder/file
> > on
> > the NTFS filesystem that I can't access. Not sure if it was due to
> > the
> > virus or not. In any case, I'd like to delete it. XP won't let me
> > enter
> > the enclosing directory at all, even as administrator, working with
> > access
> > rights, etc.  I tried all the "sfc", "chkdsk", etc. approaches I
> > knew
> > of,
> > to no avail. I also tried some surface scanners, but none of them
> > found
> > anything either.
> > 
> > So I booted the machine from an Ubuntu live cd, mounted the NTFS
> > partition, and found Ubuntu couldn't access the file either. Ubuntu
> > lets
> > me enter the enclosing folder, but when I try to rm the file, I get
> > an
> > "operation not supported" message.
> > 
> > Looking around the filesystem a bit, I noticed a fair number of
> > normal
> > files (but not all) that have 2 hard links showing up on an "ls
> > -l".
> > Scanning the disk for the 2nd occurrence of the inode number for
> > several
> > files revealed nothing. Not sure if this is related or not.
> > 
> > I'm thinking the file system is logically corrupt somehow, but I
> > tried a
> > few of the "ntfs..." tools on Ubuntu, and nothing changed any of
> > this.
> > Does anyone know of any tools to repair (I think) the structure of
> > an
> > NTFS
> > filesystem. Thanks...
> > 
> > Dave Shaw
> > 
> > 
> > _______________________________________________
> > clue mailing list: clue at cluedenver.org
> > For information, account preferences, or to unsubscribe see:
> > http://cluedenver.org/mailman/listinfo/clue
> > 
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
> 


More information about the clue mailing list