在ubuntu下更新一下时间:
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
将时间更新到硬件上:
sudo hwclock --localtime --systohc
重启进入windows,done!
本文介绍如何在Ubuntu系统中安装ntpdate并使用它来同步Windows的时间。通过sudo apt-get install ntpdate 和 sudontpdatetime.windows.com命令可以完成时间同步。最后通过sudohwclock --localtime --systohc将系统时间写入硬件时钟。
在ubuntu下更新一下时间:
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
将时间更新到硬件上:
sudo hwclock --localtime --systohc
重启进入windows,done!
4618
9951
4万+

被折叠的 条评论
为什么被折叠?