Home > Virtualization > Hyper-V : The system time runs too fast on a Linux-based vm

Hyper-V : The system time runs too fast on a Linux-based vm

 
If you create a Linux VM on 2.6 Kernel and if you are experiencing the system time in the Linux guest operating system running too fast, this is the step to fix:
 
1. Open the Linux console
2.  Edit boot menu
   vi /boot/grub/menu.lst 
 
3. In the title Linux area of this file, add the clock=pit parameter to the kernel entry
 
 
4. Edit the NTP.CONF file
   vi /etc/ntp.conf
   
5. Add the NTP server ( click here to know more about NTP Server in windows 2008 )

 
6. Edit the CRONTAB:
 crontab -e
 
7. Type : 30  *  *  *  * /usr/sbin/ntpdate -su
 
Done. Now, every 30 minutes, the Linux VM will sync with the NTP server.
 
 
Advertisement
Categories: Virtualization
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: