I’ve installed openSuse 12.2 x64 on my laptop. During the setup process i unchecked the ‘Set hardware clock to UTC’ option. But now, after finishing the installation i’ve found this bug [Bug 779440] New: /etc/adjtime not created during installation; can’t se](http://lists.opensuse.org/opensuse-bugs/2012-09/msg00918.html) . Due to unchecking of the option (and missing /etc/adjtime), I’m unable to set my hw clock to local time. ‘Set hardware clock to UTC’ gets selected after every restart. While sorting the bug is being worked out, can i manage with copying the /etc/adjtime file from another installation and set things right? If yes, could someone please post the file…
On 09/27/2012 02:26 PM, abhitheaviator wrote:
>
> Hello
>
> I’ve installed openSuse 12.2 x64 on my laptop. During the setup
> process i unchecked the ‘Set hardware clock to UTC’ option. But now,
> after finishing the installation i’ve found this bug ‘[Bug 779440] New:
> /etc/adjtime not created during installation; can’t se’
> (http://lists.opensuse.org/opensuse-bugs/2012-09/msg00918.html) . Due to
> unchecking of the option (and missing /etc/adjtime), I’m unable to set
> my hw clock to local time. ‘Set hardware clock to UTC’ gets selected
> after every restart. While sorting the bug is being worked out, can i
> manage with copying the /etc/adjtime file from another installation and
> set things right? If yes, could someone please post the file…
>
> Expecting an easy fix to the problem!
finger@larrylap:~> cat /etc/adjtime
0.0 0 0.0
0
UTC
Am 30.09.2012 02:16, schrieb tb75252:
> When I enter the command:
> Code:
> --------------------
> sudo echo -e “0.0 0 0.0
0
LOCAL” > /etc/adjtime
> --------------------
> I get “Permission denied”.
>
> What am I doing wrong?
>
>
At the moment when the redirect (the >) is performed you have no longer
root rights (sudo ends before that point on your command line).
Try
su -
echo -e "0.0 0 0.0
0
LOCAL" > /etc/adjtime
instead.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
Unfortunately, there’s no change in the system clock issue… The BIOS clock still get set 5 hours ahead of local time and that interferes with the time displayed when booting up Windows 7.
If anyone has another suggestion, please speak up!
> Thank you, that worked!
>
> Unfortunately, there’s no change in the system clock issue… The BIOS
> clock still get set 5 hours ahead of local time and that interferes with
> the time displayed when booting up Windows 7.
After the change, you must make sure that the system time is copied to the cmos clock, and that
after making sure that the system time is correct.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
Thank you for the detailed instructions.
Followed all your instructions and made sure that I also set the correct time/date in the BIOS. Unfortunately every time that I boot up openSUSE the CMOS clock gets set to UTC time…
Yes, I made sure that the correct time was set in the BIOS. Unfortunately it does not seem to work and the CMOS time gets reset to UTC every time that I boot up openSUSE.
On 2012-10-02 02:56, tb75252 wrote:
>
> Yes, I made sure that the correct time was set in the BIOS.
> Unfortunately it does not seem to work and the CMOS time gets reset to
> UTC every time that I boot up openSUSE.
Copy here your adjtime file.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
james@LINUXMASTER:~> **cat /etc/adjtime**
0.000000 1348976627 0.000000
1348976627
LOCAL
Here is what I get from terminal when I run **cat /etc/adjtime **and you could do the same. Just copy what you get into a message here using the advanced message editor and place the results in a code # block, which will look (something) like mine above.
In SYSTOHC chooses “yes” option : in FORCE_SYSTOHC chooses more “yes” option for force suse to synchronize its clock setting with the bios at boot and at close session.
Thanks for your reply. I followed your instructions but unfortunately nothing has changed.
openSUSE resets the BIOS clock to UTC and that messes up the clock in Windows 7.