Wednesday, 17 August 2011

Migrating a windows VM ware box to VirtualBox

Maybe I'm just blind but I couldn't find VM player for mac. Only a 30 day trial for VM fusion. Any way I got given a VMWare machine image that I needed to use and VirtualBox is my preferred desktop virtualisation solution.

Migrating a Windows machine is a PITA because of the way windows does it's thing but VMWARE don't help either, because it is nearly impossible to remove VMware tools.

Probably the best guide I found to migrating a windows box is It also tackles how to get rid of VMWare tools. But unfortunately the you can't seem to get rid of the network drivers. So the article suggests switching to one of the Intel drivers. But of course you don't have network connectivity from the VM to download. So my little addition to this article is how to create your own ISO image with the drivers to load up into the VirtualBox VM.

  • Download the Intel network drivers from the Intel site
  • Goto Applications -> Utilities -> Disk Utility
  • Click New Image
  • Select Partitions CD/DVD
  • and 100MB is more than enough space
  • Select a name for your CD "file"
  • This file will be mounted and can be found in Finder.
  • Copy the network driver download to it and eject
The problem now is making an ISO. I found that the convert function in Disk Utility didn't work. So you need to goto the terminal and type this:

hdiutil makehybrid -iso -joliet -o [filename].iso [filename].cdr

Voila you have an ISO you can attach to your virtualbox machine and install the Intel network drivers