Results 1 to 7 of 7
I've got a dual boot system, both with Debian 4.0 and Windows XP. Sometime ago I ran into a strange issue with my time getting changed in Debian each time ...
- 03-10-2008 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 7
Time in Debian
I've got a dual boot system, both with Debian 4.0 and Windows XP. Sometime ago I ran into a strange issue with my time getting changed in Debian each time I booted into Windows. If I were to change the time in one OS it would radically change the time in the other. Why is this. My BIOS is fine. Now, since the daylight savings time has kicked in again, my time in Debian is wrong, and I can't correct it. This is what I've done thus far:
date 031011302007
hwclock --directisa --systohc
When I check again with just the date command it returns normal, but the kde gui is displaying a time that is 4 hours less. Why is this? If I change the time via the kde gui, my screen goes black and doesn't return unless I poweroff then reboot.
Any of you have suggestions on this?
- 03-10-2008 #2
probably has something to do with timezones and if you're computer thinks you are setting the date to UTC rather than your local time or not, when you installed it should have asked you whether or not your system clock was set to UTC or local time, depending on your answer this would affect how the system sets your time
- 03-10-2008 #3Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Yep - you probably installed Debian and selected "Clock is set to UTC" vs. "Clock is set to local time."
When Debian shuts down, it's updating the CMOS clock with the time from the OS, which throws Windows off when it boots.
PS: An easy way to set the time accurately (if you have internet access) is to sync with an NTP server using:
Code:ntpdate pool.ntp.org
- 03-10-2008 #4Just Joined!
- Join Date
- Apr 2006
- Posts
- 7
Thanks for the replies!
Isn't there a file in Debian that will allow me to change this from UTC to LocalTime?
- 03-10-2008 #5
Set UTC=no in /etc/default/rcS file.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-10-2008 #6Just Joined!
- Join Date
- Apr 2006
- Posts
- 7
great! thanks!
- 03-12-2008 #7Just Joined!
- Join Date
- Apr 2006
- Posts
- 7
tzconfig was what I needed to correct my issue.


Reply With Quote
