Debian & Windows dual boot, system time issue
I have a debian & windows dual boot system, everything seems to be fine except the system date in both os. Each time I logout from one os and boot into another, the system date jump several hour forward.
For example, if the system date is 12:00 when I logout from Windows, it will become, say, 22:00 after I boot into Debian. My timezone setting is the same in windows and debian, is there a way to synchronize the system date in both os? Thanks! |
Depending on your hardware, there could be some different reasons for this, but a first step would probably be to install 'ntpdate'
|
The hw clock is assumed to be in UTC since it cannot store the offset. Windows has not concept of this, it sets the hw clock to local time. To work around this issue, make sure that the hw clock is set to local time and change UTC=yes to UTC=no in /etc/default/rcS
|
That same time problem started for me when I upgraded Sarge to Etch with 2.6.12 kernel. It was very frustrating because no offered solution worked. Neither Kanotix nor Mepis nor Sarge ever had problem. Then after several weeks my upgrading kernel to 2.6.14 and system to Etch/Sid resolved time errors. Cheers.
|
Thanks for the replies. :)
Quote:
Quote:
Quote:
|
It helps if we know a little bit about your system. Is it a 64-bit ... smp ... those hardware configurations are known to have time related idiosyncracies.
|
No, rickh, it's an old pc, not a 64-bit system.
cpu: p4 2.66 northwood mainboard: msi 6533e |
It would help to know where the clock skew is coming from
boot bios -> set time boot windows -> check time boot bios -> check time boot debian -> check time boot bios -> check time |
Maybe it is bugs.debian.org/cgi-bin/bugreport.cgi?bug=346342
(sorry for the incomplete url but i am not allowed to add links to other sites :( ) see also man 5 rcS when it is that problem you just should copy your zoneinfo file under /usr/share/zoneinfo to /etc/localtime Greetz Stefan |
All times are GMT -5. The time now is 10:11 PM. |