When changing the system date/time and time servers, you will normally be prompted for a password you'll need to enter before the settings are saved. Nor does it seem to be reading time from the internet even though I have this option checked. I must be missing a "save" step somewhere but can't see where. However, the GUI time setting keeps defaulting to "Jakarta" on re-boot even after changing it to "Singapore" where I am. So, my BIOS clock doesn't get changed when I boot Ubuntu. However, the GUI time setting keeps defaulting to "Jakarta" on re-boot so I'm guessing "Singapore" isn't listed in the list of time zones. "gksudo gedit /etc/default/rcS" worked fine (I couldn't figure out how to edit/save from the normal terminal window) but anyway, I now have the file saved with "UTC=no" and have re-opened it several times to check that it saved correctly. I've only just started with Linux so it took me a while to work out how to edit the file. Jim, many thanks for taking the time to type all those detailed instructions. Sudo sed -i 's/UTC=no/UTC=yes/' /etc/default/rcS Or to reset it so that UTC=yes (if it was set to no and you want to change it to yes) paste in this line: Sudo sed -i 's/UTC=yes/UTC=no/' /etc/default/rcS IOW, if UTC=yes, paste the following line into a terminal to change it to UTC=no Then, change the line from UTC=yes to UTC=no if your BIOS Clock is supposed to be set to local time and save the file (File>Save) and exit.Īnother way to change it is to follow the instructions here: Or, this may work if gksudo is not installed: I think gedit is installled in Ubuntu, so try that like this (so that you're opening that file with root permissions with the gedit editor): You'll just need to open the file edit /etc/default/rcS (and the S is in caps, with the rest lower case), with an editor as root and look for that line, modify it to the way you want it, and save the file. So, if you want your BIOS settings to be for a local time, and you have your desktop set to Eastern instead, then it's going to add 4 hours to your local time when it resets the hardware clock if that file has a line stating UTC=yesĬhange the line in that file to UTC=no if you don't want it doing that. If it's set this way, then it's going to assume your hardware clock is set to UTC:īut, if it's set this way, it's going to assume your hardware clock is set to local time instead:Īgain, it is going to compute the difference between the time you have set, and what your hardware clock is using, then update the hardware clock when you exit. So, check that file and see what this line is set to: It's just changing a setting in the file named rcS mentioned above. Most installers have a check box for "hardware clock set to UTC" when you first install a distro (usually on a page where you select your local time zone). IOW, if it thinks your hardware clock is using UTC and your time is set for Eastern for what is displayed, then it's going to compute the difference when resetting the system clock. If it thinks it's set to UTC (Universal Time, a.k.a., Greenwich Mean Time, a.k.a., Zulu time), then it's going to set your hardware clock that way each time you exit Ubuntu.īut, if your hardware clock is not set to UTC, then it's going to use the actual time you set for the hardware clock. # Set UTC=yes if your hardware clock is set to UTC (GMT) To tell your Ubuntu system that the hardware clock is set to 'local' time: I have re-installed Ubuntu for various reasons many times and was always careful to set the time to my time zone so there's more to this than I can see at the moment.ĭid you see this part of the article just linked to? You must tell Ubuntu to keep the BIOS clock in local time: Linux assumes the BIOS clock is in UTC and Windows wants it to be in local time.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |