From: Richard W.M. Jones Date: Wed, 26 Oct 2011 12:56:18 +0000 (+0100) Subject: virt-resize: Be much more conservative about moving first partition. X-Git-Tag: 1.13.25~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;ds=inline;h=d64fca7b848df36f2043a8af72aaa670e3c14c53;hp=d64fca7b848df36f2043a8af72aaa670e3c14c53;p=libguestfs.git virt-resize: Be much more conservative about moving first partition. Commit 2910413850c7d9e8df753afad179e415f0638d6d caused Windows 7 resizes to break with the 0xc0000225 boot error. Change the --align-first auto (default) option so that it is more conservative about when it moves the first partition. In particular it doesn't move it if it's already aligned (as it is for Win7), nor if there is more than one partition (also Win7). Tested with: Windows XP, 2003, 7, Ubuntu 10.10 and RHEL 5. ---