Mike's Planet Just a Big Ball of Gas

24Aug/07Off

VMware Workstation: Fixing Time in Linux Guest OS

I recently had troubles with Gutsy in a guest OS under VMware Workstation (Linux) on my laptop. The clock in my Gutsy guest OS would run much faster than my host computer. The problem is caused by computers using dynamic CPU speed technology.

Here is a workaround I have found:

  1. Edit your /etc/vmware/config

    sudo vim /etc/vmware/config

  2. Add the following line to /etc/vmware/config

    host.cpukHz = x
    host.noTSC = TRUE
    ptsc.noTSC = TRUE

    x = Max CPU speed in kHz (i.e. 2GHz CPU = 2000000)

  3. Install VMware Tools in Guest OS
  4. Verify that Time synchronization between the virtual machine and the host operating system is selected
Tagged as: , 1 Comment