Possible Duplicate:
Copying a VHD to a physical disk

I am planning to upgrade from a 32 bit os (Vista) to 64 bit (7). As there is no straight upgrade path, and I do not want to spend an entire weekend setting everything up with no immediate rollback (apart from an image), is there a way I can make a virtual disk with Windows 7 and then copy this to the physical hard drive and override my host OS (Vista)?

So in short I have Vista as my host OS, I setup 7 on a VHD, but in the end 7 becomes my host OS just like Vista is now.


With regards to the similar question I posted, if you don't have a second disk you can boot from, you can use a Linux LiveCD such as DSL and use dd from there.

You can also image the virtual environment with Ghost or Clonezilla (free) and then restore that image to your host.

| improve this answer | |
  • Thanks for that. BTW I mean replacing the current host OS (just to be clear) :) – GurdeepS Nov 29 '09 at 19:21
  • In serverfault there is a similar question and the suggestion is again to use dd (serverfault.com/questions/296697/…). Has anyone actually tried this or the suggestion is only by intuition? I'd hate to wait for several hours dd to complete only to find out that the disk won't boot. Could someone confirm and post a snippet? I'd guess it would be something like: dd if=/path/to/your.vhd of=/dev/sdX bs=4096 – m000 Aug 21 '12 at 14:41

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