View previous topic :: View next topic |
Author |
Message |
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Fri Sep 06, 2002 10:01 pm Post subject: another time thing |
|
|
well i never had an issue with time being kept till this last install. i set up this system to dual boot with win2k now both windows and gentoo will not keep the correct time...if i set the time and stay in one (even if i reboot as long as i return to that OS not the other) the time remains correct. but if i switch from one OS to the other the clock gets screwed. what would cause this...like what is it seeing from the change in OS that would confuse the system clocks.
edit:well i should have did a bit more playing around before posting this but the problem is that if i change the clock in one OS it changes the clock up rebooting in the other...so if i correct one i screw up the other..anyone have a dual boot system doing this or know how to correct it? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20476
|
Posted: Fri Sep 06, 2002 10:47 pm Post subject: |
|
|
What is your CLOCK variable set to in /etc/rc.conf? Dual-booting for Windows works better with clock set to local. Among other things, Windows doesn't do time well. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Sat Sep 07, 2002 12:03 am Post subject: Re: another time thing |
|
|
rommel wrote: | well i never had an issue with time being kept till this last install. i set up this system to dual boot with win2k now both windows and gentoo will not keep the correct time...if i set the time and stay in one (even if i reboot as long as i return to that OS not the other) the time remains correct. but if i switch from one OS to the other the clock gets screwed. what would cause this...like what is it seeing from the change in OS that would confuse the system clocks.
edit:well i should have did a bit more playing around before posting this but the problem is that if i change the clock in one OS it changes the clock up rebooting in the other...so if i correct one i screw up the other..anyone have a dual boot system doing this or know how to correct it? |
Why don't you use a clock server and ntpdate program to automatically set your time from cron?
My entry:
1,11,21,31,41,51 * * * * root /usr/bin/ntpdate 138.x.y.z
You can also get a similar proggie for Windows, I'm sure
Erik |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Sep 07, 2002 12:04 am Post subject: |
|
|
thank you wolfie...the rc.conf was the trouble...i havent run windows since april and have never tried dual booting with linux before, but setting the time to local in the rc.conf took care of the problem.
thanks again
ciao |
|
Back to top |
|
|
|