Clone Virtual Disk Image (VDI) as a Virtual Hard Disk (VHD) file

Due to some laptop issues I needed to move some virtual machines (VM) to my replacement machine but this time I decided to run them on Hyper-V. Instead of trying to convert the disk image files to VHD I decided that having a VDI and VHD copy for future would be best. Virtual Box has a command-line interface called VBoxManage that allows you to clone the hard disk image using the clonehd command.

Syntax:
vboxmanage clonehd <location\VDIfile> <location\VHDFile> --format VHD

In my example :
location\VDIFile = c:\VHD\DatabaseEngineering.vdi
location\VHDfile= c:\VHD DBEng.vhd




Result:

0 comments:

Community Links