Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-14-2006, 08:49 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2006
Posts: 5
Rep:
|
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!
|
|
|
|
03-14-2006, 09:04 AM
|
#2
|
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
Depending on your hardware, there could be some different reasons for this, but a first step would probably be to install 'ntpdate'
|
|
|
|
03-14-2006, 09:21 AM
|
#3
|
|
Member
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423
Rep:
|
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
|
|
|
|
03-14-2006, 01:22 PM
|
#4
|
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
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.
|
|
|
|
03-14-2006, 11:59 PM
|
#5
|
|
LQ Newbie
Registered: Feb 2006
Posts: 5
Original Poster
Rep:
|
Thanks for the replies.
Quote:
|
Originally Posted by dracae
make sure that the hw clock is set to local time and change UTC=yes to UTC=no in /etc/default/rcS
|
The hwclock is set to local time, and the value of UTC in /etc/default/rcS is "no". But still, the problem remain.
Quote:
|
Originally Posted by lestoil
Then after several weeks my upgrading kernel to 2.6.14 and system to Etch/Sid resolved time errors. Cheers.
|
My system is Sid, and my kernel is 2.6.15.
Quote:
|
Originally Posted by rickh
Depending on your hardware, there could be some different reasons for this, but a first step would probably be to install 'ntpdate'
|
You mean get time from internet servers? But I don't have a constant internet connection available.
|
|
|
|
03-15-2006, 12:08 AM
|
#6
|
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
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.
|
|
|
|
03-15-2006, 10:37 PM
|
#7
|
|
LQ Newbie
Registered: Feb 2006
Posts: 5
Original Poster
Rep:
|
No, rickh, it's an old pc, not a 64-bit system.
cpu: p4 2.66 northwood
mainboard: msi 6533e
|
|
|
|
03-15-2006, 11:01 PM
|
#8
|
|
Member
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423
Rep:
|
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
|
|
|
|
08-31-2006, 12:14 AM
|
#9
|
|
LQ Newbie
Registered: Aug 2006
Posts: 1
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|