[systemd-devel] How to pass date/time to OS before Linux starts?

Lennart Poettering lennart at poettering.net
Fri Oct 25 08:22:41 UTC 2024


On Fr, 25.10.24 00:56, Paul Menzel (pmenzel+systemd-devel at molgen.mpg.de) wrote:

> Dear Linux folks,
>
> My CMOS battery is empty, so the time is reset to the firmware/BIOS date,
> but the firmware does not allow to set the date/time.
>
> Do you know of a way to set the time on the Linux kernel command line, that
> is passed to systemd/the OS somehow?

There's systemd.clock-usec=. See kernel-command-line(7) man page for details.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list