Check NTFS from BSD for consistency and repair

A few days ago my WinXP-pro system refused to boot correctly giving an error saying "autocheck" utility not found i cant boot into console mode neither .. all this happend after playing with PartitionMagic *cough*

now i've been able to live cuz of my FreeBSD (5.1) system wich is on the same hdd just diferent partition, i'm able to mount the xp (ntfs) partition and browse trought it but my question is:

How can i check my WinXP (ntfs) partition from my current FreeBSD (5.1) system for consistency and most likely repair it?

fsck_msdosfs of course wont work :(

so, could you HELP me ?

Thanks in advance :D      
            
            
Dante77Asked:
Who is Participating?
 
sunnycoderConnect With a Mentor Commented:
perhaps you misunderstood my comment... What I meant to say was that I am not very familar with registry file formats and hence am not in a position to give competent advise

The obvious way would be to mount the NTFS partition and modify the registry files as indicated at the link
http://www.kellys-korner-xp.com/win_xp_restart.htm

the only difference is that instead of using regedit you would be manipulating the file manually ... and clearly this requires good idea of the file format which unfortunately I do not have
0
 
sunnycoderConnect With a Mentor Commented:
pop in your winxp cd and boot from it... I think there it gives you option for recover/repair along with install

Let us know if that worked... if it didn't then we would try to locate some tools or other options
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Dante77Author Commented:
Both you comments are very very good and a good way to fix my problem maybe ill end doing it ... but ... there is always a but eh?

i want to expand and explore on my posibilities and if you want to help me find a way to fix this from FBSD i'll be more than happy to accept your answer, tell you what if its just not posible and noone else comes with a better answer than yours (hardly) i'll go with you first comment =)

what do you say do you want to take the challenge?

how to check and fix consistency for a XP partition from FBSD
or
how to disable the xp autocheck mounting the partition from my BSD.
0
 
sunnycoderConnect With a Mentor Commented:
disabling autocheck is possible (from recovery console) by editing registry
http://www.kellys-korner-xp.com/win_xp_restart.htm

but from BSD partition is a bit tricky... I dont know how safe would it be to edit registry from BSD partition ... First check if your BSD has R/W support for NTFS ... I recall some *nix having only read support for NTFS
0
 
Dante77Author Commented:
it does have R/W very limimited though

snip/

WRITING
     There is limited writing ability.  Limitations: file must be nonresident
     and must not contain any sparces (uninitialized areas); compressed     files  are also not supported.

/snip

thats from the FBSD man pages  regarding on mount_ntfs

also we can take a look at this other part

snip/

FEATURES
     NTFS file attributes are accessed in following way:

           foo[[:ATTRTYPE]:ATTRNAME]

     `ATTRTYPE' is one of the identifiers listed in $AttrDef file of volume.
     Default is $DATA.  `ATTRNAME' is an attribute name.  Default is none.

/snip

0
 
sunnycoderCommented:
I have little idea of registry file format and would not like to give you an incompetent advise ... sorry dead end from my side :o(
0
 
Dante77Author Commented:
id like to read it just be sure to put a headear on your comment so other people wont use it

*/ extremely experimental it can melt your cpu /*

i'll use it under my own risk :)

0
 
Dante77Author Commented:
Thats ok, your answers are excellent
Thanks :D i'll let you know how this ends
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.