On Fri, Oct 25, 2024 at 10:13 AM Barry <barry@xxxxxxxxxxxxxxxx> wrote: > > > > > On 25 Oct 2024, at 00:04, Paul Menzel <pmenzel+systemd-devel@xxxxxxxxxxxxx> 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. > > The battery is a replaceable component on the motherboard. > > > > > 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 is no option as far as I know. > Poor man's solution is the initrd module that parses kernel command line parameters.