1<?xml version="1.0"?>
2<!--*-nxml-*-->
3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6<refentry id="systemd-modules-load.service" conditional='HAVE_KMOD'>
7
8  <refentryinfo>
9    <title>systemd-modules-load.service</title>
10    <productname>systemd</productname>
11  </refentryinfo>
12
13  <refmeta>
14    <refentrytitle>systemd-modules-load.service</refentrytitle>
15    <manvolnum>8</manvolnum>
16  </refmeta>
17
18  <refnamediv>
19    <refname>systemd-modules-load.service</refname>
20    <refname>systemd-modules-load</refname>
21    <refpurpose>Load kernel modules at boot</refpurpose>
22  </refnamediv>
23
24  <refsynopsisdiv>
25    <para><filename>systemd-modules-load.service</filename></para>
26    <para><filename>/usr/lib/systemd/systemd-modules-load</filename></para>
27  </refsynopsisdiv>
28
29  <refsect1>
30    <title>Description</title>
31
32    <para><filename>systemd-modules-load.service</filename> is an early boot service that loads kernel
33    modules. It reads static configuration from files in <filename>/usr/</filename> and
34    <filename>/etc/</filename>, but also runtime configuration from <filename>/run/</filename> and the kernel
35    command line (see below).</para>
36
37    <para>See
38    <citerefentry><refentrytitle>modules-load.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
39    information about the configuration format of this service and paths where configuration files can be
40    created.</para>
41  </refsect1>
42
43  <refsect1>
44    <title>Kernel Command Line</title>
45
46    <para><filename>systemd-modules-load.service</filename>
47    understands the following kernel command line parameters:</para>
48
49    <variablelist class='kernel-commandline-options'>
50
51      <varlistentry>
52        <term><varname>modules_load=</varname></term>
53        <term><varname>rd.modules_load=</varname></term>
54
55        <listitem><para>Takes a comma-separated list of kernel modules
56        to statically load during early boot. The option prefixed with
57        <literal>rd.</literal> is read by the initial RAM disk
58        only.</para></listitem>
59      </varlistentry>
60
61    </variablelist>
62  </refsect1>
63
64  <refsect1>
65    <title>See Also</title>
66    <para>
67      <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
68      <citerefentry><refentrytitle>modules-load.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
69    </para>
70  </refsect1>
71
72</refentry>
73