# phpman > man > kernel-command-line(7)

[KERNEL-COMMAND-LINE(7)](https://www.chedong.com/phpMan.php/man/KERNEL-COMMAND-LINE/7/markdown)                   kernel-command-line                  [KERNEL-COMMAND-LINE(7)](https://www.chedong.com/phpMan.php/man/KERNEL-COMMAND-LINE/7/markdown)



## NAME
       kernel-command-line - Kernel command line parameters

## SYNOPSIS
       /proc/cmdline

## DESCRIPTION
       The kernel, the initial RAM disk (initrd) and basic userspace functionality may be configured
       at boot via kernel command line arguments. In addition, various systemd tools look at the EFI
       variable "SystemdOptions" (if available). Both sources are combined, but the kernel command
       line has higher priority. Please note that _the_ _EFI_ _variable_ _is_ _only_ _used_ _by_ _systemd_ _tools,_
       _and_ _is_ _ignored_ _by_ _the_ _kernel_ _and_ _other_ _user_ _space_ _tools_, so it is not a replacement for the
       kernel command line.

       For command line parameters understood by the kernel, please see **kernel-parameters.html**[1]
       and [**bootparam**(7)](https://www.chedong.com/phpMan.php/man/bootparam/7/markdown).

       For command line parameters understood by the initial RAM disk, please see [**dracut.cmdline**(7)](https://www.chedong.com/phpMan.php/man/dracut.cmdline/7/markdown),
       or the documentation of the specific initrd implementation of your installation.

## CORE OS COMMAND LINE ARGUMENTS
       _systemd.unit=_, _rd.systemd.unit=_, _systemd.dump_core_, _systemd.early_core_pattern=_,
       _systemd.crash_chvt_, _systemd.crash_shell_, _systemd.crash_reboot_, _systemd.confirm_spawn_,
       _systemd.service_watchdogs_, _systemd.show_status_, _systemd.status_unit_format=_,
       _systemd.log_target=_, _systemd.log_level=_, _systemd.log_location=_, _systemd.log_color_,
       _systemd.default_standard_output=_, _systemd.default_standard_error=_, _systemd.setenv=_,
       _systemd.machine_id=_, _systemd.unified_cgroup_hierarchy_,
       _systemd.legacy_systemd_cgroup_controller_
           Parameters understood by the system and service manager to control system behavior. For
           details, see [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown).

       _systemd.mask=_, _systemd.wants=_, _systemd.debug_shell_
           Additional parameters understood by [**systemd-debug-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-debug-generator/8/markdown), to mask or start specific
           units at boot, or invoke a debug shell on tty9.

       _systemd.run=_, _systemd.run_success_action=_, _systemd.run_failure_action=_
           Additional parameters understood by [**systemd-run-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-run-generator/8/markdown), to run a command line
           specified on the kernel command line as system service after booting up.

       _systemd.early_core_pattern=_
           During early boot, the generation of core dump files is disabled until a core dump
           handler (if any) takes over. This parameter allows specifying an absolute path where core
           dump files should be stored until a handler is installed. The path should be absolute and
           may contain specifiers, see [**core**(5)](https://www.chedong.com/phpMan.php/man/core/5/markdown) for details.

       _systemd.restore_state=_
           This parameter is understood by several system tools to control whether or not they
           should restore system state from the previous boot. For details, see **systemd-**
           **backlight@[.service**(8)](https://www.chedong.com/phpMan.php/man/.service/8/markdown) and [**systemd-rfkill.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-rfkill.service/8/markdown).

       _systemd.volatile=_
           This parameter controls whether the system shall boot up in volatile mode. Takes a
           boolean argument, or the special value "state". If false (the default), normal boot mode
           is selected, the root directory and /var/ are mounted as specified on the kernel command
           line or /etc/fstab, or otherwise configured. If true, full state-less boot mode is
           selected. In this case the root directory is mounted as volatile memory file system
           ("tmpfs"), and only /usr/ is mounted from the file system configured as root device, in
           read-only mode. This enables fully state-less boots were the vendor-supplied OS is used
           as shipped, with only default configuration and no stored state in effect, as /etc/ and
           /var/ (as well as all other resources shipped in the root file system) are reset at boot
           and lost on shutdown. If this setting is set to "state" the root file system is mounted
           read-only, however /var/ is mounted as a volatile memory file system ("tmpfs"), so that
           the system boots up with the normal configuration applied, but all state reset at boot
           and lost at shutdown. If this setting is set to "overlay" the root file system is set up
           as "overlayfs" mount combining the read-only root directory with a writable "tmpfs", so
           that no modifications are made to disk, but the file system may be modified nonetheless
           with all changes being lost at reboot. For details, see [**systemd-volatile-root.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-volatile-root.service/8/markdown)
           and [**systemd-fstab-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-fstab-generator/8/markdown).

       _quiet_
           Parameter understood by both the kernel and the system and service manager to control
           console log verbosity. For details, see [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown).

       _debug_
           Parameter understood by both the kernel and the system and service manager to control
           console log verbosity. For details, see [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown).

       _-b_, _rd.emergency_, _emergency_, _rd.rescue_, _rescue_, _single_, _s_, _S_, _1_, _2_, _3_, _4_, _5_
           Parameters understood by the system and service manager, as compatibility and convenience
           options. For details, see [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown).

       _locale.LANG=_, _locale.LANGUAGE=_, _locale.LC_CTYPE=_, _locale.LC_NUMERIC=_, _locale.LC_TIME=_,
       _locale.LC_COLLATE=_, _locale.LC_MONETARY=_, _locale.LC_MESSAGES=_, _locale.LC_PAPER=_,
       _locale.LC_NAME=_, _locale.LC_ADDRESS=_, _locale.LC_TELEPHONE=_, _locale.LC_MEASUREMENT=_,
       _locale.LC_IDENTIFICATION=_
           Parameters understood by the system and service manager to control locale and language
           settings. For details, see [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown).

       _fsck.mode=_, _fsck.repair=_
           Parameters understood by the file system checker services. For details, see **systemd-**
           **fsck@[.service**(8)](https://www.chedong.com/phpMan.php/man/.service/8/markdown).

       _quotacheck.mode=_
           Parameter understood by the file quota checker service. For details, see **systemd-**
           [**quotacheck.service**(8)](https://www.chedong.com/phpMan.php/man/quotacheck.service/8/markdown).

       _systemd.journald.forward_to_syslog=_, _systemd.journald.forward_to_kmsg=_,
       _systemd.journald.forward_to_console=_, _systemd.journald.forward_to_wall=_
           Parameters understood by the journal service. For details, see **systemd-**
           [**journald.service**(8)](https://www.chedong.com/phpMan.php/man/journald.service/8/markdown).

       _vconsole.keymap=_, _vconsole.keymap_toggle=_, _vconsole.font=_, _vconsole.font_map=_,
       _vconsole.font_unimap=_
           Parameters understood by the virtual console setup logic. For details, see
           [**vconsole.conf**(5)](https://www.chedong.com/phpMan.php/man/vconsole.conf/5/markdown).

       _udev.log_level=_, _rd.udev.log_level=_, _udev.children_max=_, _rd.udev.children_max=_,
       _udev.exec_delay=_, _rd.udev.exec_delay=_, _udev.event_timeout=_, _rd.udev.event_timeout=_,
       _udev.timeout_signal=_, _rd.udev.timeout_signal=_, _udev.blockdev_read_only_,
       _rd.udev.blockdev_read_only_, _net.ifnames=_, _net.naming-scheme=_
           Parameters understood by the device event managing daemon. For details, see **systemd-**
           [**udevd.service**(8)](https://www.chedong.com/phpMan.php/man/udevd.service/8/markdown).

       _plymouth.enable=_
           May be used to disable the Plymouth boot splash. For details, see [**plymouth**(8)](https://www.chedong.com/phpMan.php/man/plymouth/8/markdown).

       _luks=_, _rd.luks=_, _luks.crypttab=_, _rd.luks.crypttab=_, _luks.name=_, _rd.luks.name=_, _luks.uuid=_,
       _rd.luks.uuid=_, _luks.options=_, _rd.luks.options=_, _luks.key=_, _rd.luks.key=_
           Configures the LUKS full-disk encryption logic at boot. For details, see **systemd-**
           [**cryptsetup-generator**(8)](https://www.chedong.com/phpMan.php/man/cryptsetup-generator/8/markdown).

       _fstab=_, _rd.fstab=_
           Configures the /etc/fstab logic at boot. For details, see [**systemd-fstab-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-fstab-generator/8/markdown).

       _root=_, _rootfstype=_, _rootflags=_, _ro_, _rw_
           Configures the root file system and its file system type and mount options, as well as
           whether it shall be mounted read-only or read-write initially. For details, see **systemd-**
           [**fstab-generator**(8)](https://www.chedong.com/phpMan.php/man/fstab-generator/8/markdown).

       _mount.usr=_, _mount.usrfstype=_, _mount.usrflags=_
           Configures the /usr file system (if required) and its file system type and mount options.
           For details, see [**systemd-fstab-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-fstab-generator/8/markdown).

       _veritytab=_, _rd.veritytab=_, _roothash=_, _systemd.verity=_, _rd.systemd.verity=_,
       _systemd.verity_root_data=_, _systemd.verity_root_hash=_, _systemd.verity.root_options=_
           Configures the integrity protection root hash for the root file system, and other related
           parameters. For details, see [**systemd-veritysetup-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-veritysetup-generator/8/markdown).

       _systemd.gpt_auto=_, _rd.systemd.gpt_auto=_
           Configures whether GPT based partition auto-discovery shall be attempted. For details,
           see [**systemd-gpt-auto-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-gpt-auto-generator/8/markdown).

       _systemd.default_timeout_start_sec=_
           Overwrites the default start job timeout _DefaultTimeoutStartSec=_ at boot. For details,
           see [**systemd-system.conf**(5)](https://www.chedong.com/phpMan.php/man/systemd-system.conf/5/markdown).

       _systemd.watchdog_device=_
           Overwrites the watchdog device path _WatchdogDevice=_. For details, see **systemd-**
           [**system.conf**(5)](https://www.chedong.com/phpMan.php/man/system.conf/5/markdown).

       _systemd.cpu_affinity=_
           Overrides the CPU affinity mask for the service manager and the default for all child
           processes it forks. This takes precedence over _CPUAffinity=_, see [**systemd-system.conf**(5)](https://www.chedong.com/phpMan.php/man/systemd-system.conf/5/markdown)
           for details.

       _modules_load=_, _rd.modules_load=_
           Load a specific kernel module early at boot. For details, see **systemd-modules-**
           [**load.service**(8)](https://www.chedong.com/phpMan.php/man/load.service/8/markdown).

       _resume=_, _resumeflags=_
           Enables resume from hibernation using the specified device and mount options. All
           [**fstab**(5)](https://www.chedong.com/phpMan.php/man/fstab/5/markdown)-like paths are supported. For details, see **systemd-hibernate-resume-**
           [**generator**(8)](https://www.chedong.com/phpMan.php/man/generator/8/markdown).

       _systemd.firstboot=_
           Takes a boolean argument, defaults to on. If off, [**systemd-firstboot.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-firstboot.service/8/markdown) will not
           query the user for basic system settings, even if the system boots up for the first time
           and the relevant settings are not initialized yet. Not to be confused with
           _systemd.condition-first-boot=_ (see below), which overrides the result of the
           _ConditionFirstBoot=_ unit file condition, and thus controls more than just
           systemd-firstboot.service behaviour.

       _systemd.condition-needs-update=_
           Takes a boolean argument. If specified, overrides the result of _ConditionNeedsUpdate=_
           unit condition checks. See [**systemd.unit**(5)](https://www.chedong.com/phpMan.php/man/systemd.unit/5/markdown) for details.

       _systemd.condition-first-boot=_
           Takes a boolean argument. If specified, overrides the result of _ConditionFirstBoot=_ unit
           condition checks. See [**systemd.unit**(5)](https://www.chedong.com/phpMan.php/man/systemd.unit/5/markdown) for details. Not to be confused with
           _systemd.firstboot=_ which only controls behaviour of the systemd-firstboot.service system
           service but has no effect on the condition check (see above).

       _systemd.clock-usec=_
           Takes a decimal, numeric timestamp in µs since January 1st 1970, 00:00am, to set the
           system clock to. The system time is set to the specified timestamp early during boot. It
           is not propagated to the hardware clock (RTC).

       _systemd.random-seed=_
           Takes a base64 encoded random seed value to credit with full entropy to the kernel's
           random pool during early service manager initialization. This option is useful in testing
           environments where delays due to random pool initialization in entropy starved virtual
           machines shall be avoided.

           Note that if this option is used the seed is accessible to unprivileged programs from
           /proc/cmdline. This option is hence a security risk when used outside of test systems,
           since the (possibly) only seed used for initialization of the kernel's entropy pool might
           be easily acquired by unprivileged programs.

           It is recommended to pass 512 bytes of randomized data (as that matches the Linux kernel
           pool size), which may be generated with a command like the following:

               dd if=/dev/urandom bs=512 count=1 status=none | base64 -w 0

           Again: do not use this option outside of testing environments, it's a security risk
           elsewhere, as secret key material derived from the entropy pool can possibly be
           reconstructed by unprivileged programs.

       _systemd.hostname=_
           Accepts a hostname to set during early boot. If specified takes precedence over what is
           set in /etc/hostname. Note that this does not bar later runtime changes to the hostname,
           it simply controls the initial hostname set during early boot.

## SEE ALSO
       [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown), [**systemd-system.conf**(5)](https://www.chedong.com/phpMan.php/man/systemd-system.conf/5/markdown), [**bootparam**(7)](https://www.chedong.com/phpMan.php/man/bootparam/7/markdown), [**dracut.cmdline**(7)](https://www.chedong.com/phpMan.php/man/dracut.cmdline/7/markdown), **systemd-debug-**
       [**generator**(8)](https://www.chedong.com/phpMan.php/man/generator/8/markdown), **systemd-fsck@[.service**(8)](https://www.chedong.com/phpMan.php/man/.service/8/markdown), [**systemd-quotacheck.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-quotacheck.service/8/markdown), **systemd-**
       [**journald.service**(8)](https://www.chedong.com/phpMan.php/man/journald.service/8/markdown), [**systemd-vconsole-setup.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-vconsole-setup.service/8/markdown), [**systemd-udevd.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-udevd.service/8/markdown),
       [**plymouth**(8)](https://www.chedong.com/phpMan.php/man/plymouth/8/markdown), [**systemd-cryptsetup-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-cryptsetup-generator/8/markdown), [**systemd-veritysetup-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-veritysetup-generator/8/markdown), **systemd-**
       [**fstab-generator**(8)](https://www.chedong.com/phpMan.php/man/fstab-generator/8/markdown), [**systemd-gpt-auto-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-gpt-auto-generator/8/markdown), [**systemd-volatile-root.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-volatile-root.service/8/markdown), **systemd-**
       [**modules-load.service**(8)](https://www.chedong.com/phpMan.php/man/modules-load.service/8/markdown), **systemd-backlight@[.service**(8)](https://www.chedong.com/phpMan.php/man/.service/8/markdown), [**systemd-rfkill.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-rfkill.service/8/markdown), **systemd-**
       [**hibernate-resume-generator**(8)](https://www.chedong.com/phpMan.php/man/hibernate-resume-generator/8/markdown), [**systemd-firstboot.service**(8)](https://www.chedong.com/phpMan.php/man/systemd-firstboot.service/8/markdown), [**bootctl**(1)](https://www.chedong.com/phpMan.php/man/bootctl/1/markdown)

## NOTES
        1. kernel-parameters.html
           <https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html>



systemd 249                                                                   [KERNEL-COMMAND-LINE(7)](https://www.chedong.com/phpMan.php/man/KERNEL-COMMAND-LINE/7/markdown)
