Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VBox vhd to vdi conversion

Tags:

virtualbox

I have a VHD file in D drive named "Ubuntu VM1.vhd" i am trying to convert if to vdi , i coem across the clonehd command with --format vdi parameter ,i dont understand why it is giving the invalid parameter error..i tried with several changes but its giving the same..is there any other way to convert vhd to vdi...

C:\>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd D:\Ubuntu VM1.vh
d D:\UbuntuServer1.vdi --format vdi
Oracle VM VirtualBox Command Line Management Interface Version 4.1.2
(C) 2005-2011 Oracle Corporation
All rights reserved.

Usage:

VBoxManage clonehd          <uuid>|<filename> <uuid>|<outputfile>
                            [--format VDI|VMDK|VHD|RAW|<other>]
                            [--variant Standard,Fixed,Split2G,Stream,ESX]
                            [--existing]


Syntax error: Invalid parameter 'D:\UbuntuServer1.vdi'
like image 393
SSH Avatar asked Oct 10 '13 08:10

SSH


People also ask

Can you convert VDI to VHD?

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. Open Virtual Box and select Files > Virtual Media Manager. Select an existing disk file on the Hard Disks tab and click the Copy button.


1 Answers

Try: VBoxManage.exe clonehd "D:\Ubuntu VM1.vhd" D:\UbuntuServer1.vdi --format vdi

like image 133
Luis Cantero Avatar answered Oct 06 '22 07:10

Luis Cantero