Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
date and local time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
thelee
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2007
Posts: 132

PostPosted: Fri Aug 03, 2007 5:21 am    Post subject: date and local time Reply with quote

so i have a dell laptop which happens to have its BIOS time set to local time, which i didn't know until after i cp'ed America/Chicago time zone info to my localtime. which is fine, right? because i just set the appropriate setting in my clock file so that gentoo appropriately adjusts the localtime time zone setting.

the problem i have is more of an annoyance, because it seems that the clock file isn't read, and consequently the time isn't adjusted, until *after* all my partitions are mounted. which means that every time my laptop boots up, i get a series of "last write time is in the FUTURE" errors and fixes on all my partitions.

i suppose i could just cp UTC time zone into my localtime and reset my clock setting to not-local, but that seems like a bad hack to a potentially more elegant solution.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Aug 03, 2007 6:29 am    Post subject: Reply with quote

Why can't you just set the BIOS clock to use UTC? Or does Dell not allow that or something?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
thelee
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2007
Posts: 132

PostPosted: Fri Aug 03, 2007 7:54 pm    Post subject: Reply with quote

the problem is i did that, but since i plan on triple booting with one of those os's being vista, my understanding is that the BIOS needs to be set to local time or else windows will have a lot of problems (as if it didn't already)
Back to top
View user's profile Send private message
termite
Guru
Guru


Joined: 06 May 2007
Posts: 466

PostPosted: Fri Aug 03, 2007 8:34 pm    Post subject: Reply with quote

I had the same problem. What you need to do is set the hardware clock to local time on shutdown. Now if only I could remember how to do this...I'll edit this if I remember.

Ah ha! Edit /etc/conf.d/clock, change
Code:
CLOCK_SYSTOHC=""
to
Code:
CLOCK_SYSTOHC="yes"
then restart (possibly a couple of times) and see if it helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum