Setting Time with Date and Hwclock Does Not Permanently Set the Time

I'm running these:

~$ sudo date --set="2021-06-09 16:33:50.0"
Wed Jun  9 16:33:50 UTC 2021
~$ sudo hwclock --systohc

once the system is rebooted it loses the info and its 4 hours off.

This is an offline system and there is no ntp or chrony solution that will work.

3
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article