Guide |
I wonder if there are any friends like me. is Ubuntu and Windows dual system? A friend asked me today that when he restarted from the Ubuntu system to windows, he found that the time in Windows had changed, and he asked me if I could fix it. I was actually having this problem when I first started using Ubuntu and Windows dual systems. Let's explain it here. |
Why there is a time lag between Ubuntu and Windows dual system
There is a time lag between Windows and Ubuntu dual system because the two systems use different ways to identify the hardware clock (Hardware clock). Ubuntu treats the hardware clock as UTC time, while Windows treats the hardware clock as local time. As time is handled differently, Windows does not change the time it recognizes Local times, no matter how many times it restarts. And when we restarted from Ubuntu to Windows, the hardware clock had been considered by Ubuntu to be UTC, and Windows was forced to convert it to Local time, which caused a time lag.
how to fix Ubuntu with Windows dual system time out of sync
To solve the fact that Ubuntu is not synchronized with Windows dual-system time is very simple, we just need to switch the UTC time of Ubuntu to Local times. The practice is to change the "utc=yes" in the /etc/default/rcs file to "utc=no" (no quotation marks). When the change is complete, Ubuntu uses the Local time instead of UTC, which resolves the dual-system issue. If you want to quickly change the configuration file, you can execute the following command directly in the terminal:
sudo sed-i ' s/utc=no/utc=yes/'/etc/default/rcs
Free to provide the latest Linux technology tutorials Books, for open-source technology enthusiasts to do more and better: http://www.linuxprobe.com/
How to fix Ubuntu with Windows dual system time out of sync