LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-23-2017, 01:45 AM   #1
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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!
 
Old 10-23-2017, 02:02 AM   #2
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Windows date needs to be set to UTC I believe.
 
Old 10-23-2017, 02:36 AM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
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.
 
1 members found this post helpful.
Old 10-23-2017, 03:34 AM   #4
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Quote:
Originally Posted by a4z View Post
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.
 
3 members found this post helpful.
Old 10-23-2017, 03:39 AM   #5
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
a4z --

Richard Cranium's post looks promising.

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

Thanks.

-- kjh
 
Old 10-23-2017, 04:42 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,905

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
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.
 
2 members found this post helpful.
Old 10-23-2017, 04:51 AM   #7
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by kjhambrick View Post
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
 
Old 10-23-2017, 04:53 AM   #8
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by RadicalDreamer View Post
Windows date needs to be set to UTC I believe.
Quote:
Originally Posted by GazL View Post
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?
 
Old 10-23-2017, 05:15 AM   #9
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Quote:
Originally Posted by a4z View Post
regedit, omg, is there no GUI option to make this?
Right click the date: https://www.youtube.com/watch?v=lwTBbQHQqE8
 
Old 10-23-2017, 05:15 AM   #10
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,905

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Not that I'm aware of.
 
Old 10-23-2017, 05:17 AM   #11
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,905

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Quote:
Originally Posted by RadicalDreamer View Post
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.
 
Old 10-23-2017, 08:51 AM   #12
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
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
 
1 members found this post helpful.
Old 10-23-2017, 10:34 AM   #13
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by a4z View Post
regedit, omg, is there no GUI option to make this?
You running KDE?
 
Old 10-23-2017, 11:10 AM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,367

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
http://www.pc-freak.net/blog/how-to-...time-troubles/
 
1 members found this post helpful.
Old 10-23-2017, 11:56 AM   #15
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by colorpurple21859 View Post
thanks a lot!, I am not surprised that Slackware itself provides the most easy solution
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Complex dual boot situation with Mint 17.2 and Windows 10. ArcheoFuturist Linux - Software 1 08-25-2015 04:04 PM
[SOLVED] Dual boot config, Windows won't boot slipstreamed Slackware 11 05-04-2012 10:38 PM
[SOLVED] Odd issue with date/time on dual boot fedora/win 7 rdjw Linux - Newbie 3 09-24-2010 07:29 PM
how to convert windows date and time to unix date and time jitupatil_2007 General 8 03-31-2008 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration