Installing the Ubuntu+windows dual system will cause Windows and Ubuntu system time to be out of sync because the Windows system defaults to reading hardware system time such as the motherboard BIOS as the local time of the OS; The Linux class OS uses hardware system time such as the motherboard BIOS as the UTC time, and then the operating system time is set by the user's time zone in UTC, minus minus. This has created a very interesting phenomenon for Chinese users: Ubuntu will be 8 hours faster than Windows (as for how to count the children's shoes to break their fingers, is it the meaning of Ubuntu fast Windows?) )。
To solve this problem, a way to follow the network of methods https://www.wikai.info/2011_01_477.html, let Windows indulge Ubuntu, I do not like to modify the registry under Windows, always feel so vainly disobey; Tend to modify under Ubuntu, referring to some hot stickers on the network, summed up in my hardware and software environment work method:
1. Turn off UTC; Command used:
sudo gedit Etc/default/rcs
Note "RcS", s capital, and "Utc=yes" to "Utc=no" in the displayed content
2. The time is still to show the original "Fast" time, you can use the network time server to correct;
sudo ntpdate pool.ntp.org
Note that this tuning of Linux server address requirements is very demanding, must be Linux, you have to turn on NTPD, time two service. Verified a lot of servers, still work of only find this pool.ntp.org, praise a bit, The conscience of the industry. Of course, the conscientious can add.
3. Consider writing the corrected time to the hardware system, command
HW Clock
4.It ' s done! Enjoy it.