extend virtual harddisk

# increase virtual harddisk to 10 GB:
vmware-vdiskmanager -x 10Gb vm-winxp.vmdk

Hint: give the config file as the parameter, not any *-flat.vmdk or something!
Once the virtual disk is extended you can create an additional partition or try to extend the existing partition:

Howto extend the boot partition of a Windows XP VM:

  1. shutdown VM
  2. extend virtual harddisk (VHD) as described above (don't forget to make a backup first)
  3. add the extended VHD to another VM running Windows XP
  4. open “diskpart.exe” via run menu
  5. list volume
  6. select the volume to expand (it will show the old size at present)
  7. select volume 2
  8. extend
  9. done, the volume should now show the same size as your VHD
  10. shutdown the actual VM, remove the extended VHD from configuration
  11. re-add the VHD to your original VM and boot
  12. enjoy more space to waste :-)

install Vmware Tools in a Ubuntu virtual machine

Prepare your virtual machine:

sudo aptitude install build-essential linux-headers-$(uname -r)

In the Vmware Server Console click on “VM → Install VMware Tools” to mount the vmware tools as a cdrom. Then open a terminal session in the virtual machine and do the following:

cd /tmp
tar xzf /media/cdrom/VMwareTools*.tar.gz
cd vmware-tools-distrib
sudo ./vmware-install.pl

Possible problems

If the mouse wheel doesn't work within your VM, try the following:

Open a terminal window and type:

$ sudo vi /etc/X11/xorg.conf

Then find “InputDevice” section with Identifier “Configured Mouse” and change the Option “Protocol” from “ps/2” to “IMPS/2”

Restart X (Ctrl + Alt + Backspace)

virtual/vmware.txt · Last modified: 2012-04 by tb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready