Use it to change boot behaviour, enable a console, or work around hardware issues.
Kernel Parameters
Kernel parameters are options passed on the kernel command line (root=, quiet, console=, systemd.unit=, nomodeset, …). Runtime kernel tunables are set separately with sysctl.
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.
parameter configured → bootloader passes it → kernel and systemd read /proc/cmdline → behaviour changes
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
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
systemd-analyze— boot time per stagejournalctl -b -p err— errors in this bootjournalctl --list-boots— previous bootscat /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
| Parameter | Effect |
|---|---|
root=UUID=... | Root file system |
ro / rw | Mount root read-only or read-write initially |
quiet / loglevel=N | Fewer or more console messages |
console=ttyS0,115200 | Serial console (default 9600n8) |
systemd.unit=rescue.target | Boot into a different target |
rd.break | Stop in the dracut shell (dracut-based initramfs) |
module.param=value | e.g. nvme_core.default_ps_max_latency_us=0 |
ipv6.disable=1 | Disable IPv6 |
Temporary and permanent changes
| Scope | How |
|---|---|
| One boot | Press 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.
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.
| Parameter | Effect |
|---|---|
ro / rw | Mount root read-only/read-write initially |
quiet, rhgb, splash | Less output |
console=ttyS0,115200 | Serial console |
systemd.unit=rescue.target | Boot into rescue |
rd.break / init=/bin/bash | Emergency access (password resets) |
crashkernel=… | Reserve memory for kdump |
mitigations=off | Disable CPU vulnerability mitigations (not recommended) |
intel_iommu=on iommu=pt | IOMMU 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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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%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.
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.
Quick lookup tables
Kernel Parameters operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Kernel Parameters.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | 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. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin 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 chain | persistent source → generated bootloader entry → selected menuentry → kernel command line bytes → kernel/initramfs/systemd/subsystem consumers → effective runtime behavior → workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | 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. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated 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 → workload | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It 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 check | Continue 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 boundary | Kernel Parameters |
|---|---|
| Topic path | Boot Process → Kernel Parameters |
| Runtime state | 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. |
| 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 chain | persistent 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 boundary | 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. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |