Solved

Check NTFS from BSD for consistency and repair

Posted on 2003-11-09
9
1,298 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.

813 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