Hi Szaka,

Thanks a lot for the static binary!

I've tested and all looks well! When booting into Vista after a resize,
chkdsk is started and after another reboot the system starts as usual.
You are a star!!!!

Cheers,
Andree

On Sat, 2006-12-02 at 15:36 +0200, Szakacsits Szabolcs wrote:
> On Sat, 2 Dec 2006, Szakacsits Szabolcs wrote:
> 
> > Apparently Vista refuses to boot if an NTFS volume was mounted on 
> > NT4 earlier. This is also what ntfsresize lied to trick Windows 
> > to be compatible with "itself". 
> > 
> > Could you please try the below patch against ntfsprogs 1.13.1 that the 
> > theory is correct? Thank you.
> 
> I put a statically linked version here to ease the testing.
> 
>       http://www.ntfs-3g.org/ntfsresize-1.13.1.1.tgz
> 
> Thanks,
>       Szaka
> 
> > --- ntfsprogs/ntfsresize.c.orig 2006-04-19 00:03:09.000000000 +0200
> > +++ ntfsprogs/ntfsresize.c      2006-12-02 00:09:44.058395088 +0200
> > @@ -2289,8 +2289,6 @@
> >         u16 flags;
> > 
> >         flags = vol->flags | VOLUME_IS_DIRTY;
> > -       if (vol->major_ver >= 2)
> > -               flags |= VOLUME_MOUNTED_ON_NT4;
> > 
> >         printf("Schedule chkdsk for NTFS consistency check at Windows "
> >                 "boot time ...\n");
> > 
-- 
Andree Leidenfrost
@ Debian Developer
Sydney - Australia

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to