Skip to main content
Topic: wrong hour (+1) with dual boot with windows (openRC)  (Read 1182 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

wrong hour (+1) with dual boot with windows (openRC)



i have +1h in artix, time zone is configured correctly to Madrid. In bios, it shows the correct hour.

with hwclock

i got the wrong hour, +1. 2024-11-24 19:10:50.690689+01:00

i already start ntpd service, rc-service ntpd start

with ls -l /etc/localtime also shows europe, madrid.

I am newbie to artix, maybe i am missing something, in arch i could solve with timedatectl.

Also try on windows reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
and hwclock --systohc --utc
and also --systohc --localtime and timezone configuration ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime and restart ntpd rc-service ntpd restart

But nothing works at the time. The hour in windows is correct, but in artix is +1.

Re: wrong hour (+1) with dual boot with windows (openRC)

Reply #1
Hello.

it is recommended to configure Windows to use UTC, rather than Linux to use localtime. (Windows by default uses localtime).

Re: wrong hour (+1) with dual boot with windows (openRC)

Reply #2
Hello.

it is recommended to configure Windows to use UTC, rather than Linux to use localtime. (Windows by default uses localtime).

I already did reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
This is the way to set windows to UTC right?

Re: wrong hour (+1) with dual boot with windows (openRC)

Reply #3
Yes, to prevent Windows from messing with the RTC.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons