Set system time to HW clock (BIOS)
Posted 04-05-2020 at 04:24 PM by karanis
Updated 04-05-2020 at 04:26 PM by karanis (I didn`t mention to execute as root)
Updated 04-05-2020 at 04:26 PM by karanis (I didn`t mention to execute as root)
# hwclock --systohc --localtime
You update your system time from ntp but sometimes, somehow, something happens and it can not sync to hardware clock as it should be and after reboot, you will need ntp again (with an internet connection).
This is a solution to sync ntp clock to BIOS but be aware that, your BIOS clock will need sync in 24 hours but if you do do not care about seconds, it will carry you along.
If you care about microseconds, hehe welcome to atomic time world
You update your system time from ntp but sometimes, somehow, something happens and it can not sync to hardware clock as it should be and after reboot, you will need ntp again (with an internet connection).
This is a solution to sync ntp clock to BIOS but be aware that, your BIOS clock will need sync in 24 hours but if you do do not care about seconds, it will carry you along.
If you care about microseconds, hehe welcome to atomic time world
Total Comments 0