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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sunnycoderCommented:
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
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
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

sunnycoderCommented:
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
sunnycoderCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dante77Author Commented:
Thats ok, your answers are excellent
Thanks :D i'll let you know how this ends
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.