Sunday, April 12, 2009

Time in ubuntu changes windows time

One good day i decided to install ubuntu on a spare drive on my computer, everything went okay but when i booted back into windows the clock was back 2 hours. This is because ubuntu (and Mac OS X) assumes that the hardware clock is in GMT and according to the option that you have set for it, it calculates the correct time (for my case GMT +2). so when you boot back into windows, it assumes that the hardware clock is set in local time.

Solution: make ubuntu read the hardware clock as local time by modifying "/etc/default/rcS".

set the UTC=no and this will make ubuntu read the hardware clock the same way as windows does eliminating the time difference problem.

No comments:

Post a Comment