Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to clone my Windows 7 system into a image file and boot it from my Xen vm. Windows 7 has a boot partition and a system partition. I know there are plenty of tools in Linux that can clone a partition into a image file. But I have no idea how to clone two partitions into one image file, and also keep the partition meta.

share|improve this question
up vote 3 down vote accepted

Sysinternals disk2vhd can write a single VHD file with multiple partitions on it (including the System Reserved Partition). The resulting VHD will mount in Windows 7 as multiple partitions.

As for whether it'll boot up in Xen right away, you'd have to try it and see. There are other issues involved there, like drivers and such.

share|improve this answer
thanks a lot. I think after the partitions are converted, the most pressing issue would be the boot loader. – davidshen84 Apr 16 '12 at 4:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.