Monthly Archives: December 2006

VMware guest slow fast clock timer fix

If your VMware Player / Server / Workstation / ESX CentOS, gNewSense, RHEL or Ed/X/Ubuntu guest clock timer is running too slowly you may need to add “clock=pit” to your kernel command line !

If you are running a CentOS 4 or Red Hat RHEL 4 guest :

# vi /boot/grub/menu.lst

kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet clock=pit

If you are running a gNewSense 1.x.y or Ubuntu 6.x.y guest :

# vi /boot/grub/menu.lst

and add “clock=pit” to the “defoptions” “comment”

# defoptions=quiet splash clock=pit


# update-grub


# cat menu.lst

and check kernel line now contains “clock=pit”

kernel /boot/vmlinuz-2.6.15-28-686 root=/dev/sda1 ro quiet splash clock=pit

HOWTO : Restore a vmwesx 2.5 vm & vmdk onto vmwsvr 1.0.0

1) snap vm on esx
1) copy/scp snap files to vmwsvr
1) edit vm.vmx

scsi0.virtualDev = "vmxlsilogic"
scsi0.virtualDev = "lsilogic"

or replace

scsi0.virtualDev = "vmxbuslogic"
scsi0.virtualDev = "buslogic"

1) edit vm.vmx
remove any vdisk: prefix from reference to vmdk
1) browse and add vm to vmwsvr inventory
1) power on vm