解决win10安装Ubuntu18.04双系统后时间不对问题

想必不少小伙伴碰到过这个问题吧?

我每次装完双系统都有这个问题,实在忍不了了,就找了一下解决方法,在此记录一下,希望可以帮到大家(亲测有效)。

步骤如下:

在Ubuntu终端下执行依次以下命令:

​​​​​​​sudo apt-get install ntpdate
sudo ntpdate time.windows.com
sudo hwclock --localtime --systohc

如果执行完“​​​​​​​sudo apt-get install ntpdate”命令,提示“E: Unable to locate package ntpdate”,那就先更新一下源:

sudo apt-get update

然后再重新执行上述的三个命令

整个命令执行完毕后重新进入win10,就会发现时间恢复正常啦!

猜你喜欢

转载自blog.csdn.net/ting_qifengl/article/details/113765711