LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-29-2010, 07:12 PM   #1
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Rep: Reputation: 0
Time displayed incorrectly after win7 duel boot setup


I believe a windows7 addition to a multiboot system has buggered up the time displayed on two other debian installations on the same computer, a X86_64 and an AMD64 respectively. I'm running unstable on the two Debian installations but #dpkg-reconfigure tzdata can't fix the problem.

At the moment the local time is displayed as 15:59 when in fact it is 19:59 and UTC is displaying the correct local time. (19:59) when it should be 23:59

I'm sure this is related to something win7 did, because I only noticed it after the additional installation. I just don't know how to change things back like they were.

Thanks,
C
 
Old 09-29-2010, 09:09 PM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Do the BIOS clock show the right time, or is it also 4 hours behind? I had a similar issue once and the solution was to edit /etc/default/rcS, and set UTC to no (UTC=no).

Regards.
 
Old 09-30-2010, 12:11 AM   #3
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Linux assumes the bios clock is in UTC, so it adds 4 hours to it to get it to your local time.
Windows on the other hand assumes that the bios clock is on local time, so it does nothing.

In order to make windows do the opposite there is a registry setting, which I cant remember at this time.

In order to make your debian installation do the opposite, simply change UTC=yes to UTC=no, inside /etc/default/rcS.

Plus, I think this is one of the last questions asked by the debian installer in expert mode when you first install debian. It does not ask you in "simple" mode, so that may be the reason you did not see such option.

Last edited by jim_p; 09-30-2010 at 03:36 AM. Reason: 4 hours, not 2 :P
 
Old 09-30-2010, 12:38 AM   #4
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Original Poster
Rep: Reputation: 0
OK, thanks for these replies. My /etc/default/rcS is in fact UTC=yes..I'll change it and I assume my problems are over.

--
C.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will too many penguins at boot time wrap until all are displayed? Shingoshi Linux - Hardware 3 06-06-2009 06:45 PM
ID3 Tag Displayed Incorrectly in xmms alkos333 Slackware 3 02-13-2007 09:55 PM
Accented letters displayed incorrectly in amsn on Ubuntu eBopBob Linux - Newbie 1 02-04-2006 04:16 PM
about to setup duel boot xp/rh9 rosscopeeko Linux - Distributions 2 11-08-2003 07:56 PM
about to setup xp/rh9 duel boot rosscopeeko Red Hat 1 11-07-2003 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration