Re: [gentoo-user] Dual OS clock issues

2015-06-06 Thread Daniel Frey
On 06/05/2015 03:29 PM, Fernando Rodriguez wrote:
 The main problem is that Windows will change the local time twice a year on 
 DST zones, aside from NTP how can Linux tell if the time is adjusted? 

Windows can be set to not do DST updates, I've set this option in the
time control panel for both dual-boot Windows installs as I don't use
them that often.

Dan




Re: [gentoo-user] Dual OS clock issues

2015-06-06 Thread Volker Armin Hemmann
Am 04.06.2015 um 21:06 schrieb Derek Ellison:
 I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the
 other. Currently I have to update the clock everytime I boot to the
 other OS and I'm wondering if there is a way I can avoid this? It's
 just starting to get to be a pain to have to update it everytime. 

 Any information would be most welcome.

 Thanks!

using google was too hard for you?

Because that is such a standard problem, you should stumble upon the
solution in less than 10 seconds.



Re: [gentoo-user] Dual OS clock issues

2015-06-05 Thread Fernando Rodriguez
On Thursday, June 04, 2015 12:06:51 PM Derek Ellison wrote:
 I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the other.
 Currently I have to update the clock everytime I boot to the other OS and
 I'm wondering if there is a way I can avoid this? It's just starting to get
 to be a pain to have to update it everytime.
 
 Any information would be most welcome.
 
 Thanks!

Set Windows to use utc. See 
https://wiki.archlinux.org/index.php/Time#UTC_in_Windows

-- 
Fernando Rodriguez



Re: [gentoo-user] Dual OS clock issues

2015-06-05 Thread Ramdziana Feri Y
Maybe this is doesn't help. But I had problem like that before when I
created dual boot system (Manjaro and Gentoo). My hardware has local
time. So I can fix it with Manjaro on local time and Gentoo on UTC time
or vice-versa.

Regards,

Ramdziana

On 06/05/2015 02:06 AM, Derek Ellison wrote:
 I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the other.
 Currently I have to update the clock everytime I boot to the other OS and
 I'm wondering if there is a way I can avoid this? It's just starting to get
 to be a pain to have to update it everytime.

 Any information would be most welcome.

 Thanks!





Re: [gentoo-user] Dual OS clock issues

2015-06-05 Thread Poison BL.
On Fri, Jun 5, 2015 at 4:28 AM, Fernando Rodriguez 
frodriguez.develo...@outlook.com wrote:

 On Thursday, June 04, 2015 12:06:51 PM Derek Ellison wrote:
  I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the
 other.
  Currently I have to update the clock everytime I boot to the other OS and
  I'm wondering if there is a way I can avoid this? It's just starting to
 get
  to be a pain to have to update it everytime.
 
  Any information would be most welcome.
 
  Thanks!

 Set Windows to use utc. See
 https://wiki.archlinux.org/index.php/Time#UTC_in_Windows

 --
 Fernando Rodriguez


Given the fact that the builtin network time sync windows does ignores that
feature altogether, it's generally a lot more sensible to configure the OS
that actually cooperates rather than the one that only listens to settings
when it suits it. That said, when there's some reason that's not an option
(in my case, I'm not the admin on the linux OS some of my machines are
stuck dual booting with, and I need reliable time sync in windows for
licensing), a secondary tool like NetTime, alongside disabling the W32Time
and setting RealTimeIsUniversal in the registry seems to work well so far.

-- 
Joshua M. Murphy


Re: [gentoo-user] Dual OS clock issues

2015-06-05 Thread Fernando Rodriguez
On Friday, June 05, 2015 12:04:41 PM Poison BL. wrote:
 On Fri, Jun 5, 2015 at 4:28 AM, Fernando Rodriguez 
 frodriguez.develo...@outlook.com wrote:
 
  On Thursday, June 04, 2015 12:06:51 PM Derek Ellison wrote:
   I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the
  other.
   Currently I have to update the clock everytime I boot to the other OS 
and
   I'm wondering if there is a way I can avoid this? It's just starting to
  get
   to be a pain to have to update it everytime.
  
   Any information would be most welcome.
  
   Thanks!
 
  Set Windows to use utc. See
  https://wiki.archlinux.org/index.php/Time#UTC_in_Windows
 
  --
  Fernando Rodriguez
 
  
 Given the fact that the builtin network time sync windows does ignores that
 feature altogether, it's generally a lot more sensible to configure the OS
 that actually cooperates rather than the one that only listens to settings
 when it suits it. 

The main problem is that Windows will change the local time twice a year on 
DST zones, aside from NTP how can Linux tell if the time is adjusted? So if 
you boot while offline you may end up with the wrong time or you may have the 
time adjusted back and forth everytime you boot the other OS so any files 
touched during early boot end up with wrong times. Also on Windows that's the 
only setting, on Linux you also have you desktop environment settings to worry 
about so the simplest way to get it to work all year long is to set Windows to 
use UTC and disable time sync in Windows as shown in the link. Unless your 
system clock drifts badly the lack of time sync in Windows is not a problem 
for most users, the rest can use an NTP service on Windows too.

-- 
Fernando Rodriguez



Re: [gentoo-user] Dual OS clock issues

2015-06-04 Thread Derek Ellison
Timezone is Pacific US or America/Los_Angeles. I'll look into the hwclock
and see what I can do.

On Thu, Jun 4, 2015 at 12:30 PM, waben...@gmail.com wrote:

 Derek Ellison derek.isn...@gmail.com wrote:

  I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the
  other. Currently I have to update the clock everytime I boot to the
  other OS and I'm wondering if there is a way I can avoid this? It's
  just starting to get to be a pain to have to update it everytime.
 
  Any information would be most welcome.
 
  Thanks!

 You didn't tell us your timezone and the time difference between
 Windows and Linux. But I assume that you can fix your problem by
 editing /etc/conf.d/hwclock.

 --
 Regards
 wabe




Re: [gentoo-user] Dual OS clock issues

2015-06-04 Thread Mick
On Thursday 04 Jun 2015 20:30:24 waben...@gmail.com wrote:
 Derek Ellison derek.isn...@gmail.com wrote:
  I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the
  other. Currently I have to update the clock everytime I boot to the
  other OS and I'm wondering if there is a way I can avoid this? It's
  just starting to get to be a pain to have to update it everytime.
  
  Any information would be most welcome.
  
  Thanks!
 
 You didn't tell us your timezone and the time difference between
 Windows and Linux. But I assume that you can fix your problem by
 editing /etc/conf.d/hwclock.
 
 --
 Regards
 wabe

Comments in the file pointed to by Wabe say:

# Set CLOCK to UTC if your Hardware Clock is set to UTC (also known as
# Greenwich Mean Time).  If that clock is set to the local time, then
# set CLOCK to local.  Note that if you dual boot with Windows, then
# you should set it to local.

MSWindows overwrites the hardware clock with the local time on shutdown.  You 
can either define your Gentoo hardware clock as local in 
/etc/conf.d/hwclock, so that it is the same with MSWindows ... or set it as 
UTC and fix MSWindows to treat the hardware clock as a UTC setting too.  Add a 
new registry key in MSWindows:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] 
“RealTimeIsUniversal”=dword:0001

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Dual OS clock issues

2015-06-04 Thread wabenbau
Derek Ellison derek.isn...@gmail.com wrote:

 I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the
 other. Currently I have to update the clock everytime I boot to the
 other OS and I'm wondering if there is a way I can avoid this? It's
 just starting to get to be a pain to have to update it everytime.
 
 Any information would be most welcome.
 
 Thanks!

You didn't tell us your timezone and the time difference between 
Windows and Linux. But I assume that you can fix your problem by
editing /etc/conf.d/hwclock.

--
Regards
wabe



[gentoo-user] Dual OS clock issues

2015-06-04 Thread Derek Ellison
I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the other.
Currently I have to update the clock everytime I boot to the other OS and
I'm wondering if there is a way I can avoid this? It's just starting to get
to be a pain to have to update it everytime.

Any information would be most welcome.

Thanks!