Windows – Time an hour off when booting between Windows and Fedora

date timefedoramulti-bootwindows

I'm currently having some bother with a dual boot box running Windows XP and Fedora. Whenever I reboot into the other operating system, the time is an hour out – when going from Fedora to Windows, it's an hour behind; when moving from Windows to Fedora, it's an hour fast. Both systems are set to the correct time zone, and correctly update from network time servers, although Windows will only do this automatically once a week.

What I'm guessing is happening is that Windows is saving the time to the system clock in local time, wheras Linux is saving it in GMT (or with/without daylight saving offset added – effectively the same thing here in Scotland at the moment). Is there any way to get round this? It causes particular issues when booting into Windows and then back to Fedora, as LDAP authentication then fails (it thinks something fishy is going on when the request apparently takes an hour to travel between client and server). Can Fedora be set to emulate Windows' behaviour? Can Windows be set to accept Fedora's behaviour?

Best Answer

When dual booting linux and windows, make sure the motherboard clock is set to "local", or at least that both agree on the format. In gentoo you set it in /etc/conf.d/clock, variable CLOCK="local".
On fedora I don't know where you do it.

Probably you should set UTC=false in /etc/sysconfig/clock.