Results 1 to 4 of 4

Thread: Change Ubuntu hardware clock to 'local' time

  1. #1
    Join Date
    Dec 2013
    Beans
    14

    Change Ubuntu hardware clock to 'local' time

    I have read multiple articles about changing Ubuntu hardware clock to 'local' time to fix an incompatability with clock settings in dual boot (Windows/Ubuntu) systems. I am guessing the "edit" command is entered in Terminal and that you must be at the Root partition? If correct, can someone tell me how to navigate to the Root partition? Thanks.

    Make Linux use 'Local' time


    To tell your Ubuntu system that the hardware clock is set to 'local' time:

    1. edit /etc/default/rcS
    2. add or change the following section # Set UTC=yes if your hardware clock is set to UTC (GMT)
      UTC=no
    Last edited by s.boone35223; December 20th, 2013 at 04:35 AM.

  2. #2
    Join Date
    Jul 2007
    Location
    Auckland, NZ
    Beans
    4,153
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Change Ubuntu hardware clock to 'local' time

    You need to have root privileges, which means using sudo.

    For example:

    Code:
    sudo nano /etc/default/rcS
    and enter your login password. You won't see any *** symbols when you type it, but it's still working.

    If you want to do it in two steps, you can
    Code:
    cd /etc/default     ##takes you to the directory
    sudo nano rcS
    nano is a code editor that works in the terminal. There are other terminal editors, but nano is probably easier for a beginner than some of the others.
    Please, people, remember to BACKUP before you install that new system. Same if you're upgrading.

  3. #3
    Join Date
    Jun 2007
    Beans
    13,443

    Re: Change Ubuntu hardware clock to 'local' time

    In case it isn't apparent, after making edit in nano -
    ctrl+o
    enter key
    ctrl+x

  4. #4
    Join Date
    Dec 2013
    Beans
    14

    Re: Change Ubuntu hardware clock to 'local' time

    Thank you. Both responses did the trick.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •