Is there a tool or a way to convert a vdi HDD to a VHD?

link|improve this question

feedback

4 Answers

up vote 3 down vote accepted

The best way is to use VBoxmanage as explained by Derek P. If you have an old VirtualBox, either upgrade, or:

You convert VDI to VMDK, then convert VMDK to VHD in one of several ways:

  1. VMWare VCenter Converter Standalone Client
  2. vmToolkits VMDK to VHD converter
  3. WinImage (shareware)
link|improve this answer
how would i convert the VMDK to VHD? – IT_07 Nov 12 '09 at 5:36
This is a horrible way of doing it, look at the posts below for a better way. – cc0 Dec 22 '10 at 8:31
@cc0, you're right. Back when I wrote this though, VBoxManage didn't support vdi to vhd, just the other way around. Derek P's answer is better. – DaveParillo Jan 6 '11 at 18:44
feedback

This function is built into VirtualBox:

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

link|improve this answer
Worked like a charm, thanks! – Krisc Feb 18 '11 at 11:05
feedback

Yes, as Derek said, builtin tool with VirtualBox works well under Windows OS without any third party software. Converted OS is booting without any troubles, for more information with example steps check this post,

VDI to VHD – Convert VirtualBox Virtual Machines to Virtual PC

link|improve this answer
feedback

There is a new option now in VirtualBox 4.1 to copy a VDI with a new format (including VHD), which is equivalent to the command Derek P pointed out last year, but in a nice GUI :)

link|improve this answer
feedback

protected by studiohack Apr 27 '11 at 1:25

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

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