Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Kernel Parameters

Direct answer

Kernel parameters are options passed on the kernel command line (root=, quiet, console=, systemd.unit=, nomodeset, …). Runtime kernel tunables are set separately with sysctl.

When to use this

Use it to change boot behaviour, enable a console, or work around hardware issues.

First 30 seconds

1. cat /proc/cmdline — current parameters.

2. One-time test: edit at the GRUB menu (e).

3. Persist: edit GRUB_CMDLINE_LINUX and regenerate, or grubby --args.

4. Reboot and check /proc/cmdline.

5. Runtime tunables → sysctl instead.

Operational verification

parameter configured → bootloader passes it → kernel and systemd read /proc/cmdline → behaviour changes

Evidence · next step

For Boot Process → Kernel Parameters, continue with the first unproven Topic check: Capture the exact effective command line from the failed/successful boot and compare only relevant deltas. If that boundary is healthy, advance to the adjacent check: Classify critical parameters by consumer: root/storage/initramfs, console/logging, systemd, security or hardware driver. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Scope / prerequisiteUse it to change boot behaviour, enable a console, or work around hardware issues.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

persistent source → generated bootloader entry → selected menuentry → kernel command line bytes → kernel/initramfs/systemd/subsystem consumers → effective runtime behavior → workload

Healthy evidence: the actual boot carries the intended minimal parameters, each relevant consumer behaves accordingly and the normal boot/workload succeeds without unnecessary debug overrides.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Capture the exact effective command line from the failed/successful boot and compare only relevant deltas.

  • Classify critical parameters by consumer: root/storage/initramfs, console/logging, systemd, security or hardware driver.
  • Use a one-boot edit as a controlled separator where safe, then update the authoritative source and regenerate loader config if required.
  • Reboot through the normal path and verify effective command line plus the original workload and regression-sensitive controls.

Verification chain. persistent source → generated bootloader entry → selected menuentry → kernel command line bytes → kernel/initramfs/systemd/subsystem consumers → effective runtime behavior → workload

Step 3 Commands Verify boundary
cat /proc/cmdline
grubby --update-kernel=ALL --args='quiet'
sysctl -a | grep net.ipv4.ip_forward
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: source and effective command line diverge, deprecated/wrong parameters are ignored, or a broad recovery parameter masks rather than isolates the true failure.

Step 5 Common mistakes Narrow the fault
  • Confusing kernel boot parameters with sysctl settings.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

Make them permanent in /etc/default/grub (GRUB_CMDLINE_LINUX) and regenerate, or with grubby --update-kernel=ALL --args=… on RHEL. Test once by editing the entry at the GRUB menu. Check what was used in /proc/cmdline.

Key checks
  • systemd-analyze — boot time per stage
  • journalctl -b -p err — errors in this boot
  • journalctl --list-boots — previous boots
  • cat /proc/cmdline — kernel command line used
ReferenceWhat it is1 section · depth on demand

Core model

Treat the effective kernel command line as runtime input, not as whatever source file was edited. Capture /proc/cmdline or equivalent from the actual boot, map each critical parameter to its consumer (kernel, initramfs, systemd or subsystem), and verify persistent source/generation only after a successful temporary separator test.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

Kernel-parameter evidence requires showing the exact parameter reached and changed the intended consumer behavior; presence in source or on the command line alone does not show effect or correctness.

In depth

Kernel command-line parameters

The kernel command line configures the kernel and early user space before any configuration files can be read. The kernel's parameter documentation explains how it's parsed:

  • The kernel processes parameters up to --, and everything after it goes to init.
  • Unrecognised parameters without a dot are also passed on: those with = go into init's environment, the others become init's arguments.
  • Module parameters are written module.param=value. That's the only way to set them for built-in modules.
  • Hyphens and underscores in names are equivalent, and double quotes protect spaces.
  • The command line is readable afterwards in /proc/cmdline.

Frequently used parameters

ParameterEffect
root=UUID=...Root file system
ro / rwMount root read-only or read-write initially
quiet / loglevel=NFewer or more console messages
console=ttyS0,115200Serial console (default 9600n8)
systemd.unit=rescue.targetBoot into a different target
rd.breakStop in the dracut shell (dracut-based initramfs)
module.param=valuee.g. nvme_core.default_ps_max_latency_us=0
ipv6.disable=1Disable IPv6

Temporary and permanent changes

ScopeHow
One bootPress e on the GRUB entry, edit the linux line, boot with Ctrl-x
Permanently, all entries (GRUB)GRUB_CMDLINE_LINUX in /etc/default/grub, then regenerate grub.cfg
Permanently (RHEL family)grubby --update-kernel=ALL --args="..."
A module option for a loadable module/etc/modprobe.d/*.conf
host$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.8.0-49-generic root=UUID=3f1c...a9 ro quiet splash console=ttyS0,115200
host$ sudo grubby --info=DEFAULT | grep args
host$ sudo grubby --update-kernel=ALL --args="console=ttyS0,115200"
host$ sudo grubby --update-kernel=ALL --remove-args="quiet"
host$ cat /sys/module/nvme_core/parameters/default_ps_max_latency_us
host$ echo "options nvme_core default_ps_max_latency_us=0" | sudo tee /etc/modprobe.d/nvme.conf

Checking that a parameter took effect

After reboot, check /proc/cmdline first to see that the parameter was passed at all. For a module parameter, /sys/module/<module>/parameters/ shows the value actually in use.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

Kernel Parameters is part of Boot Process → Kernel Parameters. Kernel Parameters covers the command-line key/value and flag inputs supplied by the bootloader that alter kernel, early userspace, root discovery, console, security and troubleshooting behavior for a specific boot.

Topic-specific state model. Kernel Parameters covers the command-line key/value and flag inputs supplied by the bootloader that alter kernel, early userspace, root discovery, console, security and troubleshooting behavior for a specific boot.

Interpretation rule. - Parameter edited in GRUB source ≠ parameter reached the kernel.

  • Parameter appears on command line ≠ its consumer recognized or honored it.
  • Temporary one-boot parameter fixes the symptom ≠ persistent configuration is changed or root cause is resolved.
  • Removing a quiet/splash parameter changes visibility ≠ it fixes the underlying boot failure.

Quick reference

Kernel parameters (command line) configure the kernel and initramfs at boot.

ParameterEffect
ro / rwMount root read-only/read-write initially
quiet, rhgb, splashLess output
console=ttyS0,115200Serial console
systemd.unit=rescue.targetBoot into rescue
rd.break / init=/bin/bashEmergency access (password resets)
crashkernel=…Reserve memory for kdump
mitigations=offDisable CPU vulnerability mitigations (not recommended)
intel_iommu=on iommu=ptIOMMU for passthrough
cat /proc/cmdline
grubby --update-kernel=ALL --args='console=ttyS0,115200'
grubby --update-kernel=ALL --remove-args='quiet'

Runtime tunables belong in /etc/sysctl.d/, not on the kernel command line.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. Kernel-parameter evidence requires showing the exact parameter reached and changed the intended consumer behavior; presence in source or on the command line alone does not show effect or correctness.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. Kernel Parameters owns boot-time input semantics. GRUB owns source/generation and menu selection; Linux Kernel/initramfs/systemd Boot own downstream interpretation.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in Boot Process → Kernel Parameters. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://systemd.io/ · confidence 94%
2026-09-13 · vendor docLinux kernel latest

Authoritative Linux project/vendor documentation reviewed for bounded reference claims: kernel command-line parameters and boot-time persistence boundary. Documentation-based technical verification only; not lab or production-runtime proof. The schema vendor_doc method is used for authoritative project/vendor documentation; deployment applicability remains separate evidence.

Basis: https://docs.kernel.org/admin-guide/kernel-parameters.html · confidence 93%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
linux kernel parameterskernel command linegrub kernel optionsproc cmdline
Embedded reference data

Quick lookup tables

Kernel Parameters operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Kernel Parameters.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateKernel Parameters covers the command-line key/value and flag inputs supplied by the bootloader that alter kernel, early userspace, root discovery, console, security and troubleshooting behavior for a specific boot.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin exact host + failed boot attempt → identify firmware mode/boot entry → capture bootloader entry + kernel/initramfs + command line → prove root-device discovery and early-userspace handoff → inspect PID 1 transaction/target → change one demonstrated cause → reboot through original path → verify service/workload readiness and regression.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chainpersistent source → generated bootloader entry → selected menuentry → kernel command line bytes → kernel/initramfs/systemd/subsystem consumers → effective runtime behavior → workloadTrace requested/configured state through effective state to the observed workload result.
Failure boundaryKernel-parameter proof requires showing the exact parameter reached and changed the intended consumer behavior; presence in source or on the command line alone does not prove effect or correctness.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux boot evidence can establish this proof path: persistent source → generated bootloader entry → selected menuentry → kernel command line bytes → kernel/initramfs/systemd/subsystem consumers → effective runtime behavior → workloadUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured host/VM, firmware, disk, selected boot entry, kernel/initramfs, root topology, boot attempt, service set, time or workload scope. Kernel-parameter proof requires showing the exact parameter reached and changed the intended consumer behavior; presence in source or on the command line alone does not prove effect or correctness.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven handoff: capture the exact artifact/configuration and downstream state, change only the demonstrated cause, reboot through the original path, then repeat the original service/workload and adjacent regression checks.Continue to the next unresolved boundary while preserving the original test condition.

Kernel Parameters · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryKernel Parameters
Topic pathBoot Process → Kernel Parameters
Runtime stateKernel Parameters covers the command-line key/value and flag inputs supplied by the bootloader that alter kernel, early userspace, root discovery, console, security and troubleshooting behavior for a specific boot.
Fast checks- Capture the exact effective command line from the failed/successful boot and compare only relevant deltas. - Classify critical parameters by consumer: root/storage/initramfs, console/logging, systemd, security or hardware driver. - Use a one-boot edit as a controlled separator where safe, then update the authoritative source and regenerate loader config if required. - Reboot through the normal path and verify effective command line plus the original workload and regression-sensitive controls.
Verification chainpersistent source → generated bootloader entry → selected menuentry → kernel command line bytes → kernel/initramfs/systemd/subsystem consumers → effective runtime behavior → workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryKernel-parameter proof requires showing the exact parameter reached and changed the intended consumer behavior; presence in source or on the command line alone does not prove effect or correctness. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?