Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
RitaG.Offline
Post subject: aptosid insists on altering bios clock [solved]  PostPosted: 05.06.2012, 20:33



Joined: 2010-09-18
Posts: 44

Status: Offline
3.4-1.slh.1-aptosid-amd64 KDE

getting pissed off!

aptosid keeps resetting my bios clock 4 hrs ahead dammit & it screws the clocks on other os's/partitions.

please tell me how to fix it.


Last edited by RitaG. on 15.06.2012, 03:10; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: aptosid insists on altering bios clock  PostPosted: 05.06.2012, 22:06
Team Member


Joined: 2010-08-26
Posts: 258

Status: Offline
I would guess you didn't pick your timezone when you booted the live system to install aptosid.

I'm also going to guess the solution now is to use hwclock with --localtime to tell it that it should be keeping your clock in localtime (and not UTC).
 
 View user's profile Send private message  
Reply with quote Back to top
RitaG.Offline
Post subject: RE: aptosid insists on altering bios clock  PostPosted: 05.06.2012, 22:27



Joined: 2010-09-18
Posts: 44

Status: Offline
where/how do i get hwclock?
 
 View user's profile Send private message  
Reply with quote Back to top
detaosOffline
Post subject: RE: aptosid insists on altering bios clock  PostPosted: 05.06.2012, 22:54
Team Member


Joined: 2010-08-26
Posts: 166
Location: floating in the ether
Status: Offline
/sbin/hwclock

_________________
#aptosid-art ftw!
(what would cleary do?)
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
RitaG.Offline
Post subject: Re: RE: aptosid insists on altering bios clock  PostPosted: 05.06.2012, 23:05



Joined: 2010-09-18
Posts: 44

Status: Offline
..ok...my next question is...how do i
      bfree wrote:
the solution now is to use hwclock with --localtime to tell it that it should be keeping your clock in localtime (and not UTC).

..do this?
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: Re: RE: aptosid insists on altering bios clock  PostPosted: 06.06.2012, 18:45
Team Member


Joined: 2010-08-26
Posts: 258

Status: Offline
I think all you need to do is set your system clock to the right time (i.e. so the kde clock or output of the date command) looks right and then run:
      Code:
hwclock -w --localtime

Which will push the system clock into the hardware clock in localtime and update your /etc/adjtime file appropriately so that the system now knows it is using localtime.

If this alone isn't enough then you might need to also rebuild your initramfs with:
      Code:
update-initramfs -u
 
 View user's profile Send private message  
Reply with quote Back to top
RitaG.Offline
Post subject:   PostPosted: 15.06.2012, 00:46



Joined: 2010-09-18
Posts: 44

Status: Offline
thank you bfree.

hwclock -w --localtime

worked very nicely.

you made my day, baby!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio