Hi,
On 6 May 2008, at 18:54, Jacques B. Siboni wrote:
> I wanted to test ntfsfix /dev/sda1 to see what would happen. This
> was a very
> bad idea. Windows vista refuses to boot since then. It goes up to
> the first
> windows splash screen with the moving horizontal pattern, and
> nothing more.
>
> What can I do to correct this miserable action?
>
> Thanks in advance
>
> linux version is kubuntu, kernel 2.6.22-14 and linux-ntfs is 1.13.1-6
1.13.1 is not compatible with Vista as you found out... You need at
least 2.0.0 for Vista support.
The easiest way to fix your volume is to allowing windows 2000 or XP
to mount it. That will reset the correct flags and Vista will be able
to mount it.
Alternatively you need to write a tool (or modify ntfsfix.c) to clear
the VOLUME_MOUNTED_ON_NT4 bit in the volume flags - where we set the
VOLUME_IS_DIRTY flag would be the place to edit ntfsfix.c just add
something like thus:
flags &= ~ VOLUME_MOUNTED_ON_NT4;
after the line:
flags = vol->flags | VOLUME_IS_DIRTY;
Compile and run and with some luck it should fix your volume...
Best regards,
Anton
>
>
> Jacques
>
>
> --
> Dr. Jacques B. Siboni mailto:ja...@Lu...
> 8 pass. Charles Albert, F75018 Paris, France
> Tel: +33 142 287 678 Fax: +33 951 720 069
> Home Page: http://jacsib.lutecium.org/
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Linux-NTFS-Dev mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linux-ntfs-dev
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/
|