Dual Boot Linux and Windows Clock issue | PC Help Forum
  1. Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Virus removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
    Dismiss Notice

Dual Boot Linux and Windows Clock issue

Dual Boot Linux and Windows Clock issue

  1. Rustys
    Fix the clock showing incorrect time for Windows and Linux Dual Boot

    If you have a computer where a Linux OS is dual-booted with Windows, you will notice that, sometimes you reboot from Linux to Window, the clock time is displaying incorrectly in Windows. Even some Linux systems may show the incorrect time if you are returning from Windows. This Linux behavior can easily be changed though, so just login to your Linux system.

    NOTE: This is just one way to correct this and works with Ubuntu up to version 14.04.5 and Mint up to version 17.3. Other Linux distros store the information in other locations you will need to refer to their help sections.

    You need to edit the file rcS located in the /etc/default/ directory and set UTC=no. You can do this by using any text editor or use following method if you have gedit installed.

    Open Terminal (press Ctrl+Alt+T for quick access) and type the following command and hit Enter.

    NOTE: You can also copy and paste the commands in to the Terminal.

    This will create a back up of the file we will be editing. This way should you need to revert back to the original file you can.

    Code:
    sudo cp /etc/default/rcS /etc/default/rcS_backup
    backup.png

    Type your password when it asks and hit Enter.

    NOTE: Remember when you type your password it will not show anything.

    This will give you root access.

    Code:
    sudo su root
    Root.png

    Type your password when it asks and hit Enter.

    Now type the following command and hit Enter to open /etc/default/rcS file with gedit text editor.

    Code:
    gedit /etc/default/rcS
    getit rcS.png

    NOTE: Yes the “S” is capitalized in “rcS”

    This will open the rcS file in gedit. Notice “UTC” is set to “yes” there.

    yes.PNG

    Replace “UTC=yes”with “UTC=no” and click Save on the toolbar.

    no.PNG

    Close both gedit and Terminal. You are done.

    NOTE: You may need to change the time in the BIOS one last time prior to booting into Windows.