You are not logged in.
Pages: 1
Hello
The time in linux always goes 2 hours ahead after i reboot into windows (I dual-boot for games). I don't know why it does this. I tried setting it from rc.conf to both UTC and localtime and it does the same thing. I even installed ntp hoping this would fix the problem but it hasn't. Does anyone know how to fix this ?
Offline
The hardware clock needs to be adjusted to localtime too.
Offline
Also use ntpd or openntpd. Check the wiki on how to set it.
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
yes, openntpd is also another thing you can use, but I would use that on top of setting hwclock to localtime. Attack the problem at the root.
Offline
I adjusted the hwclock and set up ntpd and still get this problem. I think it's a windows issue but this still seems like the best place to ask for help
Offline
just try to remove the /var/lib/hwclock/adjtime and reboot.
Offline
just try to remove the /var/lib/hwclock/adjtime and reboot.
I did and it still didn't fix my problem. I notice though that the hwclock is correct. If I type hwclock -r i get the right time, but in the taskbar the time is still off by 2 hours.
Offline
Are both Windows and Linux time bases alike (i.e. both local or both UTC)?
If set to local, is HARDWARECLOCK="localtime" in /etc/rc.conf (not merely "local")?
The problem could be caused by the desktop environment, too. Perhaps there are some more settings. Which DE do you use?
Last edited by bernarcher (2010-03-18 13:01:30)
To know or not to know ...
... the questions remain forever.
Offline
In linux the hardwareclock is set to "ntp". I put that in there after reading the arch wiki. The desktop environment is xfce4. In windows i don't know what the time base is but i'll check asap and post the result.
Edit: I checked. In windows the time is set to UTC +2, as it normally would be, because that's the timezone in the country i live in.
Last edited by dncrash (2010-03-18 18:15:25)
Offline
In windows the time is set to UTC +2, as it normally would be, because that's the timezone in the country i live in.
There are the two hours. Universal time is timezone indifferent. If you want to use the timezone where you live you have to use local time.
To know or not to know ...
... the questions remain forever.
Offline
I set the windows time to UTC since there is no localtime option available and now it seems to be working properly under linux. Thanks guys
Offline
Pages: 1