{"id":6,"date":"2008-10-03T20:48:39","date_gmt":"2008-10-03T13:48:39","guid":{"rendered":"http:\/\/sg20.com\/techblog\/?p=6"},"modified":"2011-03-10T08:21:30","modified_gmt":"2011-03-10T01:21:30","slug":"migrateconvert-vmware-vmdk-linux-gues-to-virtualbox-2x","status":"publish","type":"post","link":"https:\/\/sg20.com\/techblog\/2008\/10\/03\/migrateconvert-vmware-vmdk-linux-gues-to-virtualbox-2x\/","title":{"rendered":"Migrate\/Convert VMWare vmdk (linux guest) to VirtualBox 2.x"},"content":{"rendered":"<p>In this blog post I&#8217;m going to explain how I successfully migrated a linux guest from VMWare to VirtualBox.\u00a0 For the record I&#8217;m running Windows Vista host but I don&#8217;t think that should be an issue.\u00a0 For people migrating a Windows guest there is a helpful <a href=\"http:\/\/www.virtualbox.org\/wiki\/Migrate_Windows\">page<\/a> at the virtualbox site, however I couldn&#8217;t find any clear guide for people migrating a linux guest.<\/p>\n<p>First things first, make a copy of the VMWare vmdk file (the virtual hard disk) to the folder where your other VirtualBox disks (vdi files) are stored.\u00a0 The good news is that the current version of VirtualBox can now use a vmdk virtual disk directly &#8211; so no need to deal with conversion.<\/p>\n<p>Next, create a new virtual machine within VirtualBox with similar specifications to what you used in VMWare.\u00a0 When you are prompted to choose a virtual disk, choose the vmdk you previously copied.\u00a0 Now you can try starting the machine and hopefully the linux OS will boot up, although it may encounter some problems during the boot process.\u00a0 I migrated a Kubuntu install and in my situation KDE could not start so I was left with a simple command prompt.<\/p>\n<p>At this point we can remove the VMWare tools.\u00a0 To do this run the &#8220;vmware-uninstall-tools.pl&#8221; script.\u00a0 If you installed the VMWare tools from an rpm package, you will need to remove them that way (i.e. rpm -e VMwareTools)<\/p>\n<p>Now we are ready to install the VirtualBox guest additions.\u00a0 For some, this may be all you need to do to be up and running on your system under VirtualBox.\u00a0 In my situation, KDE was not starting due to an incorrect X configuration (\/etc\/X11\/xorg.conf).\u00a0 To fix this I ran &#8220;dpkg -reconfigure xserver-xorg&#8221; to reconfigure the xorg.conf file.\u00a0 During this process it setup the video device driver, monitor, keyboard, mouse, etc.\u00a0 Sometimes it automatically detected the settings, other times I had to select them myself (choosing the obvious choice &#8211; i.e. for video driver I selected &#8220;vboxvideo&#8221; or something similar to that).<\/p>\n<p>After that was finished I restarted the system and KDE started up like normal.\u00a0 The VirtualBox guest additions weren&#8217;t enabled, so I ran the installation one more time from KDE.\u00a0 After rebooting one final time, KDE was running fine with the guest additions.<\/p>\n<p>This is everything I have done with my migrated system at this point, and I&#8217;m not sure how well a vmdk disk does with VirtualBox (performance wise).\u00a0 If it has performance problems it may be necessary to backup the relevant data and start on a fresh install in VirtualBox.\u00a0 Only time will tell I guess.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog post I&#8217;m going to explain how I successfully migrated a linux guest from VMWare to VirtualBox.\u00a0 For the record I&#8217;m running Windows Vista host but I don&#8217;t think that should be an issue.\u00a0 For people migrating a Windows guest there is a helpful page at the virtualbox site, however I couldn&#8217;t find [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":1,"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/posts\/6\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sg20.com\/techblog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}