Archive for the ‘vmware’ Category

Virtual machines, vmware and VirtualBox

October 10, 2011

A while ago I was migrating from VMware Server (the free version) to VirtualBox (which is also free). In order to convert my vmdk to vdi I started out using this guide.

It is nowadays possible to directly use the vmdk in VirtualBox, but for some reason I wanted all my disks as vdi.

Some of my drives where devided into 2GB chunks. First I created a single file out of them using:

vmware-vdiskmanager -r vm.vmdk -t 0 hardrive-name.vmdk

(vm.vmdk is my source disk and harddrive-name is the destination disk)

Then I installed qemu (sudo apt-get install qemu) order to convert the disk to a bin file (I figured it’s always good to know how to do this in case I want a hardware drive later on..):

qemu-img convert harddrive-name.vmdk raw-file.bin

And then to convert to vdi I use VBoxManage:

VBoxManage convertdd raw-file.bin new-file.vdi

Tadaa.. Then I created a new virtual machine using VirtualBox. Since I’m speaking of virtual boxes ¬†anyway, here are some notes-to-self about creating it:

  1. Create the network adapters, I use one to bridge my wireless and one to bridge my LAN. (TODO: Learn how NAT is working in VirtualBox)
    1. I have a DELL PRECISION M90 and the “Advanced” “Adapter type” “INTEL PRO/1000 MT Desktop” works better for me.
  2. Share a folder. I share the same folder in all my virtual machines and has it setup as a network harddrive in windows. Works like a charm! One of the reasons I migrate from VMware, there I use ftp.. (with my host as ftp-server).
  3. Add the USB-device filters I want.
This did not work, my vm was not bootable. To be continued…

Ubuntu 9.04 + Firefox 3.6.8 + WMware server 2.0.2 + Web access + Remote Console –> Not so fun to get back from vacation

August 2, 2010

It’s always exciting to get back from vacation! Logging in to an old system, running the upgrades, getting your DE up and running.. today the problem was: vmware and firefox compatibility. Apparently my ubuntu decided this was a good time to upgrade ff to 3.6. Wmware however reacted not so well by.. stop working! took me to a blank page. allowed me to log in and start the virtual machine, but when I wanted to open the vmware console it responded “Cannot access virtual machine console. The request timed out.”

A couple hours spent searching and troubleshooting (installing vmware-player was not helpful at all) finally provided me with a working solution (the post by Mike Masseo): running vmware console directly from command line. The command line essentials:

1) cd /home/myusername/.mozilla/firefox/0qgd98ep.default/extensions/
2) ./vmware-vmrc

The 0qgd98ep will probably differ, I used tab to auto-complete after /firefox/.

Up and back to work I am!