Clock changes time

G

Gordon

Not sure whether this is a Linux problem or a Windows, hence the
crossposting!
I dual-boot Kubuntu 5.04 with Windows XP SP2. I find that when I boot into
Kubuntu, the clock in the panel shows the correct time. When I boot into
Windows XP, the clock is exactly one hour slow, although the time-zone
(London) is set correctly, and "Adjust for Daylight Saving" is checked. I
adjust the time to the correct value and all is OK until the next time I
boot into Windows after using Linux. can anyone suggest why this is
happening and how to cure it?

Thanks
 
A

Adam

Not sure whether this is a Linux problem or a Windows, hence the
crossposting!
I dual-boot Kubuntu 5.04 with Windows XP SP2. I find that when I boot into
Kubuntu, the clock in the panel shows the correct time. When I boot into

I don't think it is really a problem with either OS, but i'm going to
blame windows for setting the hardware clock to local time rather than UTC :)

You can fix it by telling Kubuntu that your hardware clock stores the time
as local time. I have no idea where that option would be in Kubuntu but
http://math.hws.edu/eck/about_linux/install.html shows that the option
does exist (near the bottom of the page) - although that was in the
installation options.

http://www.ubuntulinux.org/support/documentation/faq?full=1 looks like a
more useful site - assuming kubuntu base it identical to ubuntu.

* Edit the file /etc/default/rcS. in there is a setting for time ("UTC=").
* Set it to no ("UTC=no")
 
C

Colin McKinnon

Gordon said:
Not sure whether this is a Linux problem or a Windows, hence the
crossposting!
I dual-boot Kubuntu 5.04 with Windows XP SP2. I find that when I boot into
Kubuntu, the clock in the panel shows the correct time. When I boot into
Windows XP, the clock is exactly one hour slow, although the time-zone
(London) is set correctly, and "Adjust for Daylight Saving" is checked. I
adjust the time to the correct value and all is OK until the next time I
boot into Windows after using Linux. can anyone suggest why this is
happening and how to cure it?

Unix usually works by having the clock set to Zulu time/UTC/GMT. You then
tell the system where you are and it works out how to present the right
time to you (allowing for daylight saving time, timezone etc).

MS Windows on the other hand is still very tied to its DOS based origins,
and doesn't really understand timezones/DST. To get around this MS put a
fudge into the Windows OS system that actually changed the hardware clock
twice a year (once forward an hour, once backward an hour) so it was at the
'correct' time.

Linux systems typically allow you to configure the system so it believes
that the hw clock is always at local time - of course you need to reboot in
MS-Windows every now and then to get it to change the clock.

HTH

C.
 
R

Randy

Gordon said:
Not sure whether this is a Linux problem or a Windows, hence the
crossposting!
I dual-boot Kubuntu 5.04 with Windows XP SP2. I find that when I boot into
Kubuntu, the clock in the panel shows the correct time. When I boot into
Windows XP, the clock is exactly one hour slow, although the time-zone
(London) is set correctly, and "Adjust for Daylight Saving" is checked. I
adjust the time to the correct value and all is OK until the next time I
boot into Windows after using Linux. can anyone suggest why this is
happening and how to cure it?

I wound up with very similar problems running UbuntuLinux. I wasn't dual
booting but was swapping my boot drive between Linux and XP. Had to reset
the time when I went back to XP, never did figure out why.
 
M

Malke

Randy said:
I wound up with very similar problems running UbuntuLinux. I wasn't
dual
booting but was swapping my boot drive between Linux and XP. Had to
reset the time when I went back to XP, never did figure out why.

Randy, if you read the previous posts you'll understand why. MS
operating systems use local time; *nix systems do the right thing and
use UTC/GMT. You have to decide whether you want to set local time in
Linux and change your clock twice a year or leave Linux using the
hardware clock and adjust Windows accordingly. Maybe Vista will handle
the time properly, but I doubt it.

Malke
 
G

Guest

Praise the Kubuntu user! Its a great distro, and I would highly recommend
anyone to try it out if your looking for a more practical approach to
computing.

I dual boot with Ubuntu, which is like cousin to Kubuntu. If I wasnt a
gamer, I would use Linux exclusively.

Sorry this doesnt really help you. I just saw Kubuntu and I got excited =).
 
M

Mark Hobley

Gordon said:
"Adjust for Daylight Saving" is checked.

Don't tick this on a dual boot system ! This affects the hardware clock during
equinox, which upsets the other systems. Keep the hardware clock at GMT.

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top