Solved

Check NTFS from BSD for consistency and repair

Posted on 2003-11-09
9
1,300 Views
Last Modified: 2013-12-09
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      
            
            
0
Comment
Question by:Dante77
  • 5
  • 4
9 Comments
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 324 total points
ID: 9712677
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
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 324 total points
ID: 9712819
0
 

Author Comment

by:Dante77
ID: 9712876
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 324 total points
ID: 9712924
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
 

Author Comment

by:Dante77
ID: 9712941
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
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9712968
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
 

Author Comment

by:Dante77
ID: 9712982
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
 
LVL 45

Accepted Solution

by:
sunnycoder earned 324 total points
ID: 9713148
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
 

Author Comment

by:Dante77
ID: 9713331
Thats ok, your answers are excellent
Thanks :D i'll let you know how this ends
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AIX    Volume group Auto ON/OFF question 2 125
UNiX Script filesystem space usage 19 79
Unix Script: Loop over all days of a month 17 115
Linux hostname change 2 87
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question