Ok, I've now also successfully tested this with win2000 in addition to Vista in response to Frans' concern.
Szaka, I would assume that your patch should work for XP and 2003 as well. Do you agree? What about NT4? (VOLUME_MOUNTED_ON_NT4 appears to be some sort of compatibility flag?) 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
signature.asc
Description: This is a digitally signed message part