Re: Does Fedora mess up the clock for Windows?
- From: "Mikkel L. Ellertson" <mikkel@xxxxxxxxxxxxxxxx>
- Date: Fri, 26 May 2006 17:17:37 -0500
Leon wrote:
"Lee Maschmeyer" <lee_maschmeyer@xxxxxxxxx> writes:You will have to double check, but running "hwclock --utc --systohc"
Hi all,
I have a dual boot system with FC5 and Windows XP. On FC5 I run ntpd
with the default config files. The drift file varies widely, from -0.4
or so to as much as -60 or 100 or more. Generally the longer Fedora is
up the smaller the number, though it's always negative.
But Windows is losing time hand over fist, maybe a couple minutes or
more in a 3-hour Windows session. I use an old program (AtomTime95) to
correct the Windows clock periodically but it doesn't do any permanent
good.
I had the same kind of thing happen with Fedora 4. It went away when I
installed Fedora 5 until I activated ntpd.
According to /var/log/messages Fedora has to set the clock back about
a second or so every time I boot it, but nowhere near the gargantuan
misalignment of Windows.
Does anybody have any idea how to make these two guys live happily
together sharing the clock? Yes, Fedora does use local time - at
least, that's the way I installed it..
Thanks much,
--
Lee Maschmeyer
<lee_maschmeyer@xxxxxxxxx>
"Be kind to your fur-bearing friends,
For a skunk may be somebody's brother."
--Fred Allen
Set UTC=false.
,----
| Setting UTC or local time
|
| When Linux boots, one of the initialisation scripts will run the
| /sbin/hwclock program to copy the current hardware clock time to the
| system clock. hwclock will assume the hardware clock is set to local
| time unless it is run with the --utc switch. Rather than editing the
| startup script, under Red Hat Linux you should edit the
| /etc/sysconfig/clock file and change the ``UTC'' line to either
| ``UTC=true'' or ``UTC=false'' as appropriate.
`----
makes this change systems I have worked with. Running
"hwclock --localtime --systohc" will set it to local time.
With both Windows and Linux on the same machine, you probably should
have the hardware clock set to local time. Because the system time
is written back to the hardware clock when FC shuts down, you can
run into problem if it is not set correctly. If Linux expects UTC
and Windows expects local time, both end up doing large corrections
when they boot. You can end up with running corrections that are
based on an incorrect drift rate because you are trying to adjust to
the time zone difference every time you change the OS. You also run
into this problem when you change the hardware clock from local time
to UTC on a running system.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: Does Fedora mess up the clock for Windows?
- From: Matthew Saltzman
- Re: Does Fedora mess up the clock for Windows?
- References:
- Does Fedora mess up the clock for Windows?
- From: Lee Maschmeyer
- Re: Does Fedora mess up the clock for Windows?
- From: Leon
- Does Fedora mess up the clock for Windows?
- Prev by Date: Re: Please Help With Dual Head
- Next by Date: Re: Trouble starting postgresql
- Previous by thread: Re: Does Fedora mess up the clock for Windows?
- Next by thread: Re: Does Fedora mess up the clock for Windows?
- Index(es):
Relevant Pages
|