安装uabntu系统后,切换系统时时间不一致,可使用以下方法解决

我们打开Ubuntu系统,打开终端,依次输入:

安装“ntpdate”:


sudo apt-get install ntpdate


连接“time.windows.com”:


sudo ntpdate time.windows.com


然后,再输入下面的命令,更新硬件:


sudo hwclock --localtime --systohc


重启再进入WIN10,即可发现问题解决,时间已经是正常时间。