Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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 at 17:26
    
It works for vmdk files too. –  David d C e Freitas Mar 8 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

Your Answer

 
discard

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.