Solved

Check NTFS from BSD for consistency and repair

Posted on 2003-11-09
9
1,294 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
 
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now