LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-30-2011, 03:08 PM   #1
Boris Belchoff
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Red face I have duel dedicated hard drives one for Debial And one for windows Xp Home.


I choose the drive to boot to from the computer Bios. When i boot into Windows my clock time changes, about 5 hours.I have another computer with Ubuntu 10.10 installed, but it will not install on this computer, Debian Did. Ubuntu gave me a command to fix this and it worked. However the Debian computer will not accept that command, Which is
open a terminal from the menu applications accessories and type
gksudo gedit /ect/defaults/rcs
in this configuration change the row UTC set it as:UTC=no
save and reboot and then set the clock. [It was set to yes]
Any help will be appreciated.
I am not sure i have this in the right place, the is my first post.
Boris

Last edited by Boris Belchoff; 03-30-2011 at 03:10 PM.
 
Old 03-30-2011, 03:11 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
What you can do is boot into linux, either distro, and use hwclock to sync the BIOS time settings.
 
Old 03-31-2011, 04:13 AM   #3
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
The file in question is /ect/defaults/rcS. That small difference means a totally different file in linux terms.

Some theory so as you understand what you are going to do and how.
Windows assumes the bios clock is in local time. Linux on the other hand assumes it is on UTC, so it adds/substracts some hours so as to get its clock to your local time.
This behavior is controlled by the UTC=yes/no parameter in /ect/defaults/rcS. Set it to no and linux assume the bios clock is on local time, so no change when you reboot to windows and the opposite
On windows this setting is somewhere inside the registry.
 
1 members found this post helpful.
Old 03-31-2011, 08:09 AM   #4
Boris Belchoff
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jim_p View Post
The file in question is /ect/defaults/rcS. That small difference means a totally different file in linux terms.

Some theory so as you understand what you are going to do and how.
Windows assumes the bios clock is in local time. Linux on the other hand assumes it is on UTC, so it adds/substracts some hours so as to get its clock to your local time.
This behavior is controlled by the UTC=yes/no parameter in /ect/defaults/rcS. Set it to no and linux assume the bios clock is on local time, so no change when you reboot to windows and the opposite
On windows this setting is somewhere inside the registry.
Thank you very much for the information. It helps me understand.
Boris
 
  


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
Duel boot on two hard drives with pre installed os roller24 Linux - Newbie 2 09-24-2010 10:53 AM
Attempting to dual boot windows xp home and ubuntu on separate drives-help needed- Iceman99one Linux - General 9 08-03-2008 05:10 AM
God says THOU shalt MAKE SATAUX --- Linux dedicated to sata hard drives & Raid etc . studpenguin Linux - General 13 05-18-2007 07:21 PM
samba and windows hard drives citrus Linux - Newbie 0 01-05-2005 02:28 AM
Two Hard drives - Linux and Windows Cyb3rKnyght Linux - Hardware 4 09-30-2004 01:26 AM

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

All times are GMT -5. The time now is 05:12 PM.

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