Home > Server Virtualization Tips > Virtualization platforms > Easy VMDK conversions
Server Virtualization Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

VIRTUALIZATION PLATFORMS

Easy VMDK conversions


Chris Wolf
01.15.2007
Rating: --- (out of 5)


Server virtualization technical tips and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


If you're already running and working with VMware virtual machines and would like to see how your VMs (virtual machines) perform on other virtualization engines, then you may want to take a look at the tool VMDK to VHD Converter.

This tool allows you to convert VMware virtual disk files to the Microsoft Virtual Hard Disk (VHD) format. In addition to allowing the virtual disks to be recognized by and run on Microsoft Virtual Server, you can also import the converted VHD files to Xen-based virtual machine host systems. One Xen-based virtualization vendor, Virtual Iron, has already noted how to use VMDK to VHD Converter to convert VMware VMs to VMs that can run on the Virtual Iron virtual infrastructure. For more information on using this tool to convert a VM for use on a Virtual Iron platform, see Virtual Iron CTO Alex Vasilevsky's blog post Converting VMware Virtual Appliances for Use with Virtual Iron.

VMDK to VHD Converter is a very simple tool to use for disk conversion. To get started, first download and install the Microsoft .NET Framework 2 (if it is not already installed). Then download VMDK to VHD Converter from vmToolkit.com. Next, extract the zipped contents from the Vmdk2Vhd-1.0.7.zip file. Once the tool is extracted, follow these steps to convert a VMware .vmdk virtual disk to a .vhd virtual disk:

At this point, you have the hard disk for the virtual machine ready to go. You will then just need to create the new virtual machine and select for the VM to use an existing virtual hard disk.

Now if you're thinking "That was almost too easy," you're right. Taking a Windows VMware VM disk and just trying to run it as a Virtual Server VM will


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google




likely result in the VM not even being able to boot. This is because of differences in the emulated hardware and drivers between VMware and Virtual Server. Of course, if you're just cloning a data disk, then this will not matter. However, if you wish to clone a system disk, then you're going to have to do a little work prior to cloning the disk.

To prepare a VMware virtual system disk to run in a Virtual Server or Virtual PC environment, follow the procedure documented in my article How to migrate VMware virtual machines to Virtual Server. This procedure will walk you through the steps of removing the VMware Tools, disabling drivers in the registry, and updating the HAL and kernel prior to converting the .vmdk disk to a .vhd disk.

Moving a virtual hard disk from one virtual environment to another has to be looked at like moving a hard disk from one physical server to another server with different hardware. Even with differences in how the virtual environments present hardware to the virtual machines, with the right preparation beforehand, you should have little trouble cloning a VMware disk to the .vhd format and successfully running the VM on another platform.

About the author: Chris Wolf is a Microsoft MVP for Windows Server – File System/Storage and is a MCSE, MCT, and CCNA. He's a Senior Analyst for Burton Group who specializes in the areas of virtualization solutions, high availability, enterprise storage, and network infrastructure management. Virtualization: From the Desktop to the Enterprise (Apress), (Addison Wesley) and a contributor to the Windows Server 2003 Deployment Kit (Microsoft Press). Reach him at chris@chriswolf.com.

Rate this Tip
To rate tips, you must be a member of SearchServerVirtualization.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Search More Tips on Virtual Implementation and Virtualization Platforms

Citrix - Application, Desktop and Server Virtualization Center

HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts