LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   date/time config in windows dual boot situation (https://www.linuxquestions.org/questions/slackware-14/date-time-config-in-windows-dual-boot-situation-4175616188/)

a4z 10-23-2017 01:45 AM

date/time config in windows dual boot situation
 
Hi,

since I have this Windows 10 dual boot setup my Slackware time is 2 hours in the future.

And I have forgotten how to fix this, can anybody please tell me what do I need to do?

Thanks!

RadicalDreamer 10-23-2017 02:02 AM

Windows date needs to be set to UTC I believe.

Richard Cranium 10-23-2017 02:36 AM

The other way is to modify /etc/adjtime to have the word LOCAL in it versus UTC.

Or so looking at /etc/rc.d/rc.S tells me.

aragorn2101 10-23-2017 03:34 AM

Quote:

Originally Posted by a4z (Post 5772846)
Hi,

since I have this Windows 10 dual boot setup my Slackware time is 2 hours in the future.

Ah, this one has always been a pickle.

You see, Windows likes its time to be LOCALTIME and the bloody thing sets the hardware clock to LOCALTIME everytime.

So, generally when dual booting it is better to have the hardware clock to LOCALTIME. Set your hardware clock to the proper time, then run timeconfig to setup how Slackware will use the clock.

You might have to restart the machine and reset the clock to LOCALTIME before everything is fine.

kjhambrick 10-23-2017 03:39 AM

a4z --

Richard Cranium's post looks promising.

Just being curious ... what is your TimeZone and what is the offset from UTC ?

Thanks.

-- kjh

GazL 10-23-2017 04:42 AM

There's a windows registry entry you can change to tell windows that your PC is set to UTC. That's what I use and I've never had any trouble, even when the clocks change.

a4z 10-23-2017 04:51 AM

Quote:

Originally Posted by kjhambrick (Post 5772868)
a4z --

Richard Cranium's post looks promising.

Just being curious ... what is your TimeZone and what is the offset from UTC ?

Thanks.

-- kjh

Stockholm Sweden, so currently with summer time 2h

a4z 10-23-2017 04:53 AM

Quote:

Originally Posted by RadicalDreamer (Post 5772853)
Windows date needs to be set to UTC I believe.

Quote:

Originally Posted by GazL (Post 5772884)
There's a windows registry entry you can change to tell windows that your PC is set to UTC. That's what I use and I've never had any trouble, even when the clocks change.

regedit, omg, is there no GUI option to make this?

RadicalDreamer 10-23-2017 05:15 AM

Quote:

Originally Posted by a4z (Post 5772887)
regedit, omg, is there no GUI option to make this?

Right click the date: https://www.youtube.com/watch?v=lwTBbQHQqE8

GazL 10-23-2017 05:15 AM

Not that I'm aware of.

GazL 10-23-2017 05:17 AM

Quote:

Originally Posted by RadicalDreamer (Post 5772890)

No, that's setting windows to UTC timezone. The regedit is for telling Windows that the BIOS time is in UTC but it can still use your local timezone.

upnort 10-23-2017 08:51 AM

Either configure the Slackware system to use local time or configure the Windows system to use UTC. To do the latter save the following as a *.reg file and run in Windows or manually edit the registry:

Code:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
    "RealTimeIsUniversal"=dword:00000001


Gordie 10-23-2017 10:34 AM

Quote:

Originally Posted by a4z (Post 5772887)
regedit, omg, is there no GUI option to make this?

You running KDE?

colorpurple21859 10-23-2017 11:10 AM

http://www.pc-freak.net/blog/how-to-...time-troubles/

a4z 10-23-2017 11:56 AM

Quote:

Originally Posted by colorpurple21859 (Post 5772980)

thanks a lot!, I am not surprised that Slackware itself provides the most easy solution


All times are GMT -5. The time now is 08:42 PM.