Re: system clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Feb 06, 2011 at 10:56:11PM +0000, Benjamin Donnachie wrote:
> On 6 February 2011 22:33, Keith Roberts <keith@xxxxxxxxxxxx> wrote:
> > Could do Ben. But the idea of ntp is that it does it for
> > you automatically, without having to intervene yourself and
> > set the time manually :)
> 
> Agreed but OP asked, "Is there a simple way to adjust the time?".

Depending upon OP's needs, as they are going to be dual booting, as far
as I can tell from the post, the simplest thing would be to set the
CentOS install to use localtime.

To do that, edit /etc/adjtime.  You'll see it says UTC.  Change that to
LOCAL

Reboot.  (Might be a way to put it into effect without a reboot, but I
don't know)  Run ntpdate pool.ntp.org which will set the time.

Now, when you boot between the two of them, Windows and Linux, the time
will stay the same.  The problem is that both systems set the hardware
to clock time when shutting down.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: Dinner is served. And my very own recipe.
Willow: Ooh, you pushed the button on the microwave that says
'popcorn'?
Xander: Actually, I pushed 'defrost', but Joyce was there in the
clinch.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux