I was just asked an interesting question and that is
how would you align a disk that is being p2v'd?
Will the new disk be properly aligned when it is
created during the p2v? This whole concept is new to
me so I appreciate any help.
All our P2V'ed servers shipped with a EISA configuration partition (diagnostics, utility...). This partition is copied by P2V, even if you reduce its size.
I reckon this dummy partition is enough to align the following ones.
Also how do you align the boot partition, can this be
done somehow during the windows setup? For a boot
partition, would I have to align the disk attaching
it to another vm first and then install on it?
We create the partition with another windows VM. The new VM disk is attached to the existing VM, then we create an aligned partition with diskpart (create primary align=64 or other number depending on your storage).
After that, you can install Windows in the already created partition. That's pretty straightforward.
Other people use a BartPE disk. We have use UltimateBootCd (ubcd) sometimes and created the partitions with Ranish Partition Manager. Do as you like.