On Thu, May 20, 2004 at 07:48:47AM -0700, Ryan Bowman wrote: > So after not booting linux more than twice winter semester when I do so now Gentoo fights with windows over the time. Even when I don't correct the time in Linux when I return to windows it is several hours ahead, 25 hours if I recall, because it changes today's date to tomorrows. Why is this? In the past I've been told something about having linux use local time, and that's what its doing. What else needs to be done? I presume they should be on the same time zone, correct? In windows I have it set to '(GMT -07:00) Mountain Time (US & Canada)'. I'm not booted into linux right now, but it's something I thought was in mountain time zone.
Linux generally prefers to keep the hardware clock in Greenwich Mean Time (standard time), which means that you never have to adjust the clock backward or forward whenever daylight savings happens or you move to a new time zone. Windows likes to keep the hardware clock in local time, which is stupid. But if you'll dual-booting, you'll have to go along with the Windows way. In Gentoo, you'll want to go into /etc/rc.conf and change the CLOCK="UTC" line to CLOCK="local". If it's already set to CLOCK="local", then this won't help. Go ahead and check it out, and see if this solves the problem. Good luck. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 I'd been having the same problem, even with CLOCK="local". It was something about Gentoo changing the clock time to compensate for time the computer had been off...I haven't rebooted into OSX yet to see if it worked, but here's what it was, if you want to try. Edit /etc/init.d/clock and comment out the line that says: errstr="$(/sbin/hwclock --adjust ${myopts} 2>&1 >/dev/hull)" For me it was on line 39. If what Andrew said doesn't work, you could try it. ~Michael Moore Visit www.elementsbycaroline.com for great photography deals! We do weddings, engagments, and bridal portraits ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
