How To: Convert VirtualPC .vhd hard drives to VirtualBox .vdi hard drives (or vice-versa)

Don’t bother – VirtualBox now natively supports .vhd drives – how handy is that? =D

But if you really wanted to, just use:

This will place the .vdi version of your drive in your current users VirtualBox folder, which is: ~/.VirtualBox

Relatedly, to go the other way (.vdi to .vhd) you could use:

Note: For this to work, you must not have the drive attached to any virtual machine, so if you already have it connected to a virtual machine, detach it first, mkay?

13 thoughts on “How To: Convert VirtualPC .vhd hard drives to VirtualBox .vdi hard drives (or vice-versa)”

  1. Thanks for sharing this.

    Mine kept failing and had to google to find out that if i have spaces in directory name and is on another drive say X:\VM 2012\source.vhd, then i have to use “X:\Vm 2012\source.vhd” and same for target.

    so it should be:
    VBoxManage clonehd “X:\Dir Name\source.vhd” “X:\Dir Name\target.vdi” –format vdi

  2. Hello, Just use in Oracle VirtualBox 4.1.12 r77245, File, CTRL+D, Copy and that’s all. Work perfectly. Regards. daniel

    1. Thanks Daniel……much easier to use GUI. Easier to redirect output to somewhere other than the uses ./Virtualbox folder as well.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">