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

Luca Boccassi luca.boccassi at gmail.com
Fri Oct 25 09:06:05 UTC 2024


On Fri, 25 Oct 2024 at 01:15, 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?

Set on the kernel command line systemd.clock_usec=<USEC>

https://www.freedesktop.org/software/systemd/man/latest/kernel-command-line.html#systemd.clock_usec=


More information about the systemd-devel mailing list