On Sunday 26 November 2006 02:13, you wrote: > Could you please also test that whether Vista boots if you remove > /pagefile.sys after ntfsresize? You can use ntfs-3g for this, it's in > Debian unstable. Usage: http://www.ntfs-3g.org/index.html#usage > Or use a LiveCD which has both. The above page lists several of them.
Used ntfs-3g for this, but Vista still refuses to boot. But.... progress! I've managed to boot Vista using the following procedure (which I found by accident when ntfs-3g complained about not being able to mount the NTFS partition): - resize Vista partition - reboot into Vista (which fails at the point we all know so well by now) Vista marks the boot as unsuccessful (next boot it will offer the safe boot option, but still not run chkdsk by itself) - reboot into linux - (try mounting the partition using ntfs-3g which fails) - run ntfsfix - reboot into Vista, this will at last run chkdsk! - Vista reboots automatically after the chkdsk and this time successfully! So, what does ntfsfix do on a ntfs volume marked "dirty" by Vista that ntfsresize does not? # ntfsfix /dev/sda1 Mounting volume... FAILED Attempting to correct errors... Processing $FMT amd $MFTMirr... Reading $MFT... OK Reading $MFTMirr... OK Comparing $MFTMirr to $MFT... OK Processing of $MFT and $MFTMirr completed successfully. Setting required flags on partition... OK Going to empty the journal ($Logfile)... OK NTFS volume version is 3.1. NTFS partition /dev/sda1 was processed successfully. Attached 3 screenshots that show Vista's chkdsk output. Cheers, FJP
vista_chkdsk_1.png
Description: PNG image
vista_chkdsk_2.png
Description: PNG image
vista_chkdsk_3.png
Description: PNG image
pgpgjgqOAGeuG.pgp
Description: PGP signature