UbuntuonVMware

From ConShell

Jump to: navigation, search

This page has various tips about running Ubuntu as a VM.

Contents

Kernel

Use the kernel provided by the linux-virtual package & prepare for VMware tools.

aptitude install linux-virtual linux-headers-virtual build-essential

Reboot!

VMware Tools

The actual instructions are here!

Note: read this

After rebooting into the new virtual kernel, install the vm-tools. Note: don't bother trying if running Hardy - see the open-vm-tools section below.

Right-click on the VM and choose Install VMware Tools...

sudo mount /media/cdrom0
cd /tmp
tar xzvf /media/cdrom0/VMwareTools-1.0.4-56528.tar.gz
cd vmware-tools-distrib
sudo ./vmware-install.pl

open-vm-tools

These are the instructions I came up with for installing open-vm-tools WITHOUT X11 on Hardy.

cd /tmp
wget http://internap.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.06.20-100027.tar.gz
tar xzvf open-vm-tools-2008.06.20-100027.tar.gz 
cd open-vm-tools-2008.06.20-100027/
aptitude install libproc-dev libicu-dev
(These next two patches assume you don't want the X crap...)
cd open-vm-tools-2008.06.20-100027
wget -O patch20080630 http://www.pastebin.org/pastebin.php?dl=47425
patch -p1 < patch20080630 
wget -O patch20080630-2 http://www.pastebin.org/pastebin.php?dl=47434
patch -p1 < patch20080630-2
./configure --without-x --without-dnet
make
make install

Time synchronization

Don't install or run ntpdate or ntpd on the VM, do this on the HOST.

Set this in the .vmx file:

tools.timeSync="TRUE" 

Then on the VM, add (append) to the grub kernel line(s).

clock=pit
-or
clocksource=acpi_pm <- for newer 2.6.15+ kernels I believe.

Consider an optimized kernel e.g. one build specifically for VMware.

Daemons

Disable daemons you don't need ... smartd, pcmcia and the like.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox


check web page