How to create a Virtual machine from a Macrium image backup
ImgToVhd is a utility that creates VHD files from Macrium backup images. These can then be used to create a bootable virtual machine facilitating quick access to a failed machine whose repair would be time consuming or not possible.
We have created a utility, ImgToVHD to enable the conversion of a Macrium backup image file to VHD files (one per disk). The VHD file(s) can then be used as the storage component of virtual machines from Microsoft (Virtual PC and HyperV), VMWare and Oracle/Sun (Virtual Box).
This enables a previously backed up machine to be reincarnated as a virtual machine. A significant use of this is to quickly regain access to a machine that has suffered a fatal hardware failure.
Please note that this is beta quality software. It is being released to the public for evaluation purposes only. No guarantees are made for its quality or fitness for purpose. Use is not recommended in a production environment.
Feedback is welcomed as this will help us improve the quality and utility of this tool and this blog post. Comments are currently enabled for this post - constructive comments will be helpful to both us and the other users of this tool.
Please take care to ensure that you are not breaking the terms on any licences by running a virtual machine from a backup image.
ImgToVHD offers both a GUI and a command line interface.
If you wish to use the command line interface, ImgToVHD --help will emit some instructions.
The ImgToVHD user interface is straight forward.
Firstly, you will need an Macrium image file - a file and folder backup file will not work here. If you wish to create a bootable VM from scratch, and not just add a disk to an already bootable VM, then the image will need to contain an image of both the active and the windows system partition. Typically the system partition is also the active partition.
You will need enough spare disk space to store the resulting VHD file. If you have selected all the partitions from the source image and the image is compressed, then the resulting VHD file size is likely to be rather larger than the source image as VHD files don't support compression and have a larger sparse granularity than the image files. Calculate the sum of the used space of the selected partitions and ensure that you have slightly more free space than this for the VHD file.
Once you have selected a source image, a list of disks will be presented to you. Select from this, the one in which you will to convert to VHD and then you will be presented with a list of partitions. Select as many of these as you require.
There are three options that are best left unselected unless you understand the consequences.
There are a number of caveats to be aware of. Of particular significance is the fact that the VM is likely to represent a significantly changed hardware environment from the original machine.
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u