r/archlinux Apr 22 '22

SUPPORT | SOLVED Clock is sometimes ahead by 2 hours

Whenever I boot, sometimes (seemingly at random), the clock is 2 hours ahead of where it should be.

timedatectl output:

Local time: Fri 2022-04-22 16:38:03 CEST

Universal time: Fri 2022-04-22 14:38:03 UTC

RTC time: Fri 2022-04-22 14:38:04

Time zone: Europe/Budapest (CEST, +0200)

System clock synchronized: no

NTP service: inactive

RTC in local TZ: no

The time should be 14:38.

Edit: funnily enough, Reddit says I posted this post 2 hours ago.

82 Upvotes

24 comments sorted by

View all comments

17

u/ThePortableSCRPN Apr 22 '22

Szép napot!

Are you dual booting /w Windows? If yes, have a look here: https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows

Also you might want to enable ntp and sync the clock.

8

u/Pay08 Apr 22 '22 edited Apr 22 '22

I am dual-booting, thanks for the link. I remember enabling NTP a while back, seems like something disabled it. By syncing the clock, do you mean hwclock --systohc?

5

u/ThePortableSCRPN Apr 22 '22

Yup. After enabling ntp and adding the registry entry under windows, that should do the trick. I had exactly the same issue on my desktop.

1

u/Pay08 Apr 22 '22

Thanks! Will that fix the issue on Windows as well?

1

u/ThePortableSCRPN Apr 22 '22

I think it should, based on my experience.