Sync clocks between Windows and Linux multiboot

Windows by default uses local time, Linux by default – UTC

Windows can be changed to UTC by adding new DWORD(32-bit) RealTimeIsUniversal=1 registry key in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

Linux can be changed to local time by changing line “UTC” to “LOCAL” in file /etc/adjtime. After changing it is necessary to fix hardware clock to right value by copying system time into hardware clock using command:
/sbin/hwclock -w

Leave a Reply