Dual System: win10 win10 time after the change after installing ubuntu

In ubuntu system: Input

sudo apt-get install ntpdate                  //  在ubuntu16.04下更新本地时间

sudo ntpdate time.windows.com           

sudo hwclock --localtime --systohc       //将本地时间更新到硬件上

Because the dual system is installed on the same computer, and so win10 ubuntu16.04 hardware time constant is the same, resulting in the aforementioned problems is the local time of two different systems.

win10 the local time (time OS) and hardware time (the time the computer's BIOS) identical, when the modified win10 system time (local time), the computer hardware actually goes in the time to local time.

ubuntu linux distributions such as local time and time different hardware, hardware time uses UTC time, ie UTC (Coordinate shissfUniversal Time), China from UTC +8, namely UTC + 8, and therefore local time and hardware time there 8 hours time difference.

So, when win10 and ubuntu local time - time hardware conversion relations are not at the same time, there will certainly be no time synchronization issues. Time inconsistency

Published 14 original articles · won praise 0 · Views 166

Guess you like

Origin blog.csdn.net/qq_38145502/article/details/103962022