LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ubuntu messes with my system time (https://www.linuxquestions.org/questions/linux-software-2/ubuntu-messes-with-my-system-time-400458/)

sureshot324 01-07-2006 12:48 AM

Ubuntu messes with my system time
 
When I installed Ubuntu linux it asked me if I had a GMT clock in my system, or something along those lines. I think I said yes, which was probably the wrong answer. Now whenever I boot to linux and then back to Windows, the time is off by 5 hours. I can correct it in windows and it will be fine until i boot into linux again. The time is always correct in Linux. How can I change the setting so Linux won't change my system time?

IBall 01-07-2006 01:25 AM

You have told linux that the System Clock is set to GMT. Linux then reads the system time, and adds 5 hours for your time zone.

Have a look in Windows, there may be a setting that makes windows do the same thing, because normally Windows reads the system clock as local time.

I googled and found this on ubuntuforums.org
Quote:

This works: http://www.majalah.com/#disablesystemtimedateutc

1. sudo cp /etc/default/rcS /etc/default/rcS_backup

2. sudo gedit /etc/default/rcS

3. Find this line:
UTC=yes
4. Replace with the following line:
UTC=no

5. Save the edited file
6. System -> Administration -> Time and Date
Set the correct time/date

7. sudo /etc/init.d/hwclock.sh restart

I hope this helps
--Ian


All times are GMT -5. The time now is 03:55 AM.