Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
my problem is that everytime I boot under Linux my time is switched by some minutes up to half an hour, always backwards. This started since the summer-winter-time switch. It doesn't occur, if I boot windows. Has anybody an idea what is going on and where to check?
I'm now always setting the time under Yast (I'm using Suse 10.1 with all available patches).
Best,
Mat
Last edited by matthaeus; 11-02-2006 at 03:35 PM..
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Thanked: 6
If it changes in minutes versuses hours I would say either the bios battery is weak and not keeping the time in the bios correct. Set the time in the bios then see what happens
I set the time in the bios, and after booting directly after that to Linux the time was 1 minute behind. But I doubt, that it is the bios battery, because I bought the notebook in may this year (a Sony notebook). And also the problem doesn't occur, if I boot Windows. Strange also, that it started after switching from summer-time to winter-time.
Does anybody know how opensuse 10.1 manages the time during the boot?
I solved the problem now. For the record: I delete the file
Code:
/etc/adjtime
It is responsible for adjusting the time of the hardware-clock to the system-time. There was some entry which adjusted the time wrongly. The file is recreated at the next boot.
Just FYI, the issue is whether the BIOS clock stores time as "UTC" or as "localtime".
In SimplyMepis 7.0, the solution is [quote]
vi /etc/default/rcS
<= Change "UTC=no" (localtime, the SimplyMepis default) to "UTC=yes" (now both Windows/Vista and SimplyMepis/Linux expect the BIOS to store time in UTC, and the clock will read the same time booting to either OS)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.