Me dispongo a instalar VMWare Player en Ubuntu, tomando como referencia el siguiente tutorial: http://www.smokinglinux.com/tutorials/install-vmware-player-on-ubuntu-gutsy-710
Yo voy a instalarlo en Ubuntu 8.04 (Hardy), pero esto no supone diferencia. Allá vamos…
Descargo la última versión del player en http://www.vmware.com/download/player/. Vamos a descargar el paquete tar.gz (no el rpm). Por lo que cuenta el autor del tutorial, éste es el camino más seguro. Un usuario comenta sobre esto:
The downside with this approach — and most other approaches — is that you need to rerun the VMware configurator and recompile a bunch of its modules each time you upgrade your kernel.
Es decir que cada vez que actualicemos kernel toca reconfigurar VMware. En fin, asumo el inconveniente con tal de ir sobre seguro.
Instalamos los archivos de headers para el kernel:
sudo apt-get install linux-headers-`uname -r`
Descomprimo el paquete y accedo a la carpeta vmware-player-distrib:
tar xzvf VMware-player-2.0.4-93057.i386.tar.gz
cd vmware-player-distrib
Ejecuto el script de instalación:
sudo ./vmware-install.pl
Durante el proceso de instalación el sistema realiza bastantes preguntas, cada una con la sugerencia correspondiente. Dejo todas las opciones por defecto. Al final obtengo el siguiente resultado:
Starting VMware services:
Virtual machine monitor done
Blocking file system: done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host network detection done
Host-only networking on /dev/vmnet1 (background) done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet8 (background) done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 doneThe configuration of VMware Player 2.0.4 build-93057 for Linux for this running
kernel completed successfully.You can now run VMware Player by invoking the following command:
“/usr/bin/vmplayer”.
Para ejecutar la aplicación voy al menú Aplicaciones > Herramientas de Sistema > VMware Player.
Sin embargo la aplicación no se ejecuta. Intento ejecutar a través del terminal, tecleando /usr/bin/vmplayer y obtengo el siguiente mensaje:
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.
Tal y cómo leo después en https://help.ubuntu.com/community/VMware/Workstation, este proceso de re-configuración tendré que repetirlo cada vez que actualice el kernel.
Ejecuto /usr/bin/vmware-config.pl y vuelve a realizar preguntas a las que respondo con las sugerencias por defecto.
Al terminar el proceso, abro la aplicación, esta vez sin problemas.
Ahora, la prueba de fuego: voy a abrir una máquina virtual con Windows XP Profesional.
Al intentarlo obtengo error :
VMware Workstation unrecoverable error: (vcpu-0)
En http://www.ntfs-3g.org/support.html#vmware leo lo siguiente:
VMware tries to use shared writable mmap for paging files but it can’t detect that it’s not always supported.
Workaround: Set “mainMem.useNamedFile=FALSE” in the .vmx file. It will disable paging files and VMware will work fine, often with much better performance.
Status: The VMware bug has been fixed in all hosted products (Workstation, Fusion, Player, …) released after Jan 30th 2008. Alternatively use Linux kernel 2.6.26 or later.
De modo, que abro archivo .vmx dentro de la carpeta de la máquina virtual y añado la línea:
mainMem.useNamedFile=FALSE
Guardo cambios, y ahora abro de nuevo la máquina virtual con el VMware Player, esta vez sin problemas.
Toca una cervecita.