Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 saw the response for converting VDI images into VHD images, but I want to do the opposite conversion - is there a tool to do this?

share|improve this question
up vote 12 down vote accepted

Adapting one of those answers, you could use VBoxManage:

VBoxManage clonehd source.vhd target.vdi --format vdi

If you are just looking to use the vhd in Virtualbox, you do not need to convert it yourself, Virtualbox will quite happily use a vhd image. You can just add it to the list of disks in "Virtual Media Manager".

share|improve this answer
    
this only works reliably for VHD files from Virtual PC, not for VHD files created using Hyper-V – denfromufa Feb 6 '15 at 17:26
    
It works for vmdk files too. – David d C e Freitas Mar 8 '15 at 18:20

It is better to convert VHD to VDI because when you need to periodically compact the VHD to recover space, you cannot use VBoxManage to compact. You will have to use the virtual PC disk wizard to compact otherwise.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .