Fix Time Jumps Between Linux and Windows (Dual-Boot)
dev.to·1d·
Discuss: DEV
⏲️Time Synchronization
Preview
Report Post

Synchronizing Time Between Linux and Windows in Dual-Boot Setups

If you run both Linux and Windows on the same machine, you might notice that after rebooting, your system clock jumps by a few hours.

This happens because both systems read the same hardware clock but interpret it differently: Windows treats it as local time, while Linux treats it as UTC.

To fix this, both systems need to use the same time reference. There are two main approaches:

Use UTC for both systems (recommended):

  • On Linux:
timedatectl set-local-rtc 0 --adjust-system-clock

It’s not necessary because Linux uses UTC by default, but this explicitly ensures the setting.

  • On Windows: Use this command:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformat...

Similar Posts

Loading similar posts...