You are not logged in.

#1 2017-04-18 10:17

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Time Confusion in Win-Q4OS Dual-boot system

Hello,
i would like to report a very strange behaviour on my dual-boot (Q4OS - WinXP) environment:
Any time i boot in the other system. it initially starts  with a time differing 2 (two) hours from my CEST Time:
-> boot up in Q4OS (after boot before to Win) -> It's two hours PAST       the real Time.
-> boot up in Win    (after boot before to Q4)   -> It's two hours BEFORE the real Time.
This happens everytime.

Btw: clicking then on the "Time" (in the Tray panel) to change it, the "Calendar" opens (i rather have to right-click, etc.)

Offline

#2 2017-04-18 13:14

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

I have had this issue before with dual booting, I can't remember the exact procedure but you have to tell Xp that the machine clock should use UTC and then set the time zone to your location, and in Q4OS you can set the time to set itself automatically by right click on clock icon (lower right) select Adjust time and date and then check the box (top right) to set time automatically and then select your timezone from the list.

HTH

Offline

#3 2017-04-18 19:03

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,248
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

@FlexQ4
The most easy and proper way is to set system time to UTC in BIOS and your timezone in Q4OS terminal:
$ sudo dpkg-reconfigure tzdata
At the same time, you have to tell Windows, that the system time is set to UTC.

Offline

#4 2017-04-18 20:12

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Re: Time Confusion in Win-Q4OS Dual-boot system

Thanks Dai & Team

Dai_trying wrote:

... and in Q4OS you can set the time to set itself automatically by right click on clock icon (lower right) select Adjust time and date and then check the box (top right) to set time automatically and then select your timezone from the list.

I did this and will inform you about the results

Dai_trying wrote:

HTH

What does that mean? wink

Q4OS-Team wrote:

The most easy and proper way is to set system time to UTC in BIOS and your timezone in Q4OS terminal:
$ sudo dpkg-reconfigure tzdata
At the same time, you have to tell Windows, that the system time is set to UTC.

I'll check what's set currently in the BIOS. If Dai's solution doesn't work, i'll give this a try later (at the moment here's a bigger download active...)

Flex

Offline

#5 2017-04-18 20:23

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

FlexQ4 wrote:
Dai_trying wrote:

HTH

What does that mean? wink

Hope This Helps

FlexQ4 wrote:

I'll check what's set currently in the BIOS.

I think the problem is likely due to Xp saving the time as local time when it exits, this means that (unless you set time automatically) Q4OS gets the system time expecting it to be UTC and adjusts the collected time to show what it thinks is the correct time, but the offset it uses will put your time out by that amount.

And to note, the solution offered by Q4OS Team is really the better solution (after configuring Xp correctly) although my solution will ignore the local time and retrieve it from "the net" so could be used regardless of the system time.

Offline

#6 2017-04-18 21:28

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Re: Time Confusion in Win-Q4OS Dual-boot system

Thanks again, Dai:

Dai_trying wrote:

I think the problem is likely due to Xp saving the time as local time when it exits, this means that (unless you set time automatically) Q4OS gets the system time expecting it to be UTC and adjusts the collected time to show what it thinks is the correct time, but the offset it uses will put your time out by that amount.

And to note, the solution offered by Q4OS Team is really the better solution (after configuring Xp correctly) although my solution will ignore the local time and retrieve it from "the net" so could be used regardless of the system time.

And, HAHaAA: as i read this i rememberd: this, as a matter of fact, was one of the last ,tweaks' i enacted to my win-xp system about 2 years ago (when ms dropped it' support, in my entire paranoia): i disabled even to get the time-info from the web... wink

Offline

#7 2017-04-18 22:20

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

You're welcome smile

I only use Xp in a VM and without net access for a couple of programs, but it doesn't get used much.

Offline

#8 2017-04-18 22:37

JimW
Member
Registered: 2015-12-08
Posts: 400

Re: Time Confusion in Win-Q4OS Dual-boot system

Dai -
a bit off topic, but I can't help it - Altho I know what hth means, every time I see it I can't help but think of this -
http://www.hthpools.com/pool/pool-care

smile

Offline

#9 2017-04-18 22:41

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

I hope that's not an omen that I'm gonna bust a pipe yikes been working round the radiators today!
big_smile

Offline

#10 2017-05-17 11:55

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Re: Time Confusion in Win-Q4OS Dual-boot system

Hello again,
on this system (Abit IP35 MB, Phoenix - AwardBis) there is no possibility to set the time to UTC.
However, in it's Standard CMOS Features the time is set correctly.
Is there any "sudo dpkg-reconfigure ..." possibilty to configure Q4OS that it simply takes this correct time as given, without any ,intelligence' to change it?
Thank you!

Offline

#11 2017-05-17 12:27

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,248
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

FlexQ4 wrote:

Is there any "sudo dpkg-reconfigure ..." possibilty to configure Q4OS that it simply takes this correct time as given, without any ,intelligence' to change it?

Yes:
$ sudo dpkg-reconfigure tzdata

Offline

#12 2017-05-17 14:39

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Re: Time Confusion in Win-Q4OS Dual-boot system

q4osteam wrote:
FlexQ4 wrote:

Is there any "sudo dpkg-reconfigure ..." possibilty to configure Q4OS that it simply takes this correct time as given, without any ,intelligence' to change it?

Yes:
$ sudo dpkg-reconfigure tzdata

No, i'm sorry: the sudo dpkg-reconfigure tzdata lets me set the time-zone (Eu/Berlin).
Then it changes the system time, in the bios: two hours back, to UTC:
https://www.timeanddate.de/stadt/info/zeitzone/utc

But please don't bother, i can live with that, i think about setting my time zone to Greenwich... wink

Offline

#13 2017-05-17 15:01

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,248
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

@FlexQ4
You need to run:
$ sudo dpkg-reconfigure tzdata
and select "None of the above" -> "UTC" option to set the timezone to UTC. It should provide no time shift to the system.

or run:
$ sudo dpkg-reconfigure tzdata
and select "Europe" -> "Berlin" to set your local timezone. This action shouldn't change the time in bios. Afterwards set the time in bios to UTC.

Offline

#14 2017-05-17 15:38

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Re: Time Confusion in Win-Q4OS Dual-boot system

q4osteam wrote:

... and select "None of the above" -> "UTC" option to set the timezone to UTC. It should provide no time shift to the system.

Thank you: That workes! Maybe i missunderstood it in your above posts ( thought it has to be set in the BIOS...)

Or maybe not wink

q4osteam wrote:

$ sudo dpkg-reconfigure tzdata
and select "Europe" -> "Berlin" to set your local timezone. This action shouldn't change the time in bios. Afterwards set the time in bios to UTC.

I swear it does change it - and there is no possibility to set UTC in my (2006?) BIOS, i actually excavated the mobo's manual to figure that out...

Offline

#15 2017-05-17 19:38

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Re: Time Confusion in Win-Q4OS Dual-boot system

i wrote:

Thank you: That workes!...

Rejoiced too early... once re-connected to i-net, it now turnes back time for two hours (in Q4OS).
Even if i correct it manually: if i dis- and reconnect from/to i-net, the time is turned back again.
Area is set to UTC.
Set date & time automatically is set to off.

Last edited by FlexQ4 (2017-05-17 19:39)

Offline

#16 2017-05-17 21:31

crosscourt
Member
Registered: 2017-05-07
Posts: 1,805
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

Most older systems and I have a lot of them with bios, dont have a feature to set time to UTC.  Ive got the same problem you do but so far after trying similar fixes I still have the problem.  Thankfully I spend most of my time in Linux.


Q4OS Aquarius 5.1 KDE   Lenovo Thinkcentre M900 Tiny i5-6500T, 16gb ddr4 ram, 512gb m.2 ssd

Offline

#17 2017-05-17 21:51

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

I'm not sure if I've missed something here, but can't you simply tell Xp (or whatever windows version) to set system time to UTC and that would solve the issue...

Offline

#18 2017-05-17 22:50

crosscourt
Member
Registered: 2017-05-07
Posts: 1,805
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

Ive tried to tell Windows, in my case Windows 7 to use UTC but it still happens..


Q4OS Aquarius 5.1 KDE   Lenovo Thinkcentre M900 Tiny i5-6500T, 16gb ddr4 ram, 512gb m.2 ssd

Offline

#19 2017-05-18 05:14

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

did you try something like this? and it still doesn't work?

Offline

#20 2017-05-18 06:14

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,248
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

FlexQ4 wrote:

Even if i correct it manually: if i dis- and reconnect from/to i-net, the time is turned back again.

You may also need to disable automatic time synchronization:
$ sudo apt-get remove ntpdate
Reboot and try to reconnect.

Offline

#21 2017-05-18 20:45

FlexQ4
Member
Registered: 2017-02-19
Posts: 148

Re: Time Confusion in Win-Q4OS Dual-boot system

Many Thanks, Crosscourt, Dai & Team for your suggestions and ideas!

q4osteam wrote:

You may also need to disable automatic time synchronization:
$ sudo apt-get remove ntpdate
Reboot and try to reconnect.

My sentence: Less is More.

After kicking this one out of my little world (i even have no desire to google what "ntpdate" actually is/does exactly), it seems now, that my system keeps up the correct time - as it is.
Less intelligence on my system, accurate time shown here, more freedom for me, more life quality as well - and about 150k freed on the disk.

Q4OSteam, you made my day...

And btw. my recommendation: try simply out to ignore the "day light saving" boodle twice a year (if your clock's and other devices' intelligence still permit it at all wink) - And once you will recognize the sun standing right in the south, in the zenith at about 12:00.
That's - imo - simply priceless.

Offline

#22 2017-05-18 22:10

crosscourt
Member
Registered: 2017-05-07
Posts: 1,805
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

Dai, Ive tried that before and it doesnt work with Windows 7.

Will give the devs suggestion a try based on FlexQ4 experience.

Last edited by crosscourt (2017-05-18 22:20)


Q4OS Aquarius 5.1 KDE   Lenovo Thinkcentre M900 Tiny i5-6500T, 16gb ddr4 ram, 512gb m.2 ssd

Offline

#23 2017-05-18 22:25

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

@ CC I really don't understand because the system time is just the system time regardless of the OS/BIOS. It's the OS that sets it upon shutdown, and Windows usually sets it as local time whereas Linux usually uses UTC, that is where the time issues come from, so setting either Windows to use UTC or Linux to use local should fix it.

But regardless a suitable workaround is as good as a fix.=)

Offline

#24 2017-05-18 22:30

crosscourt
Member
Registered: 2017-05-07
Posts: 1,805
Website

Re: Time Confusion in Win-Q4OS Dual-boot system

Ive tried that Dai and it doesnt work and I honestly dont have an explanation as to why.  Its not something Im that concerned about as i spend most of my time in Linux these days.

Ill continue to play around with it.  Im in the middle of a laptop rebuild so that is taking more of my focus.


Q4OS Aquarius 5.1 KDE   Lenovo Thinkcentre M900 Tiny i5-6500T, 16gb ddr4 ram, 512gb m.2 ssd

Offline

#25 2017-05-18 22:33

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Time Confusion in Win-Q4OS Dual-boot system

Not a problem CC, I just get bugged when something doesn't do what it's supposed to. big_smile

Offline

Board footer

Powered by FluxBB