Use it when the boot stops with a kernel panic, or after a kernel update breaks boot.
Linux Kernel
The Linux kernel image (vmlinuz) is loaded by the bootloader, initialises hardware and memory, runs the initramfs, mounts the real root and starts /sbin/init (systemd).
1. Read the last lines before the panic.
2. Boot the previous kernel from the GRUB menu.
3. uname -r — which kernel is running now?
4. Broken kernel → rebuild its initramfs or reinstall the package.
5. Check journalctl -k -b -1 from the failed boot if persistent.
kernel loaded → hardware initialised → initramfs runs → root mounted → init started
For Boot Process → Linux Kernel, continue with the first unproven Topic check: Record the booted/selected kernel version and exact command line from the failing attempt. If that boundary is healthy, advance to the adjacent check: Inspect early console/kernel messages for architecture, driver, storage, filesystem, ACPI/IOMMU and panic/oops failures before user-space starts. 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
bootloader handoff → kernel decompression/entry → architecture/platform init → command-line parse → built-in driver/device discovery → initramfs/init selection → root handoff/userspace
Healthy evidence: the intended kernel starts without fatal errors, parses the intended parameters, discovers required boot-critical devices and successfully hands to early/real userspace.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Record the booted/selected kernel version and exact command line from the failing attempt.
- Inspect early console/kernel messages for architecture, driver, storage, filesystem, ACPI/IOMMU and panic/oops failures before user-space starts.
- Verify required drivers are built in or available to initramfs and that root/storage identifiers match current topology.
- After repair, boot the intended kernel normally and verify root mount, PID 1, services and workload rather than stopping at absence of a panic.
Verification chain. bootloader handoff → kernel decompression/entry → architecture/platform init → command-line parse → built-in driver/device discovery → initramfs/init selection → root handoff/userspace
Step 3 Commands Verify boundary
uname -r
ls /boot/vmlinuz-*
dnf list installed kernel
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: wrong kernel, missing built-in/initramfs driver, panic, incompatible parameter or storage discovery failure stops the chain before real userspace.
Step 5 Common mistakes Narrow the fault
- Removing the running kernel package.
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.
Panics such as "VFS: Unable to mount root fs" usually mean a wrong root= parameter or missing storage drivers in the initramfs. Boot the previous kernel from the menu to recover, then fix or remove the broken one.
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
Pin the exact kernel image/version actually booted and its command line, then read early kernel evidence before user-space logging becomes authoritative. Distinguish a kernel that starts from one that can discover required CPU/storage/controller/filesystem/encryption features. Kernel success is not root-filesystem success unless the root path and userspace handoff are confirmed.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
Kernel-stage evidence shows kernel execution and required early device discovery only to the observed point, but it does not show real-root mount, systemd convergence or application readiness.
In depth
What the kernel does at boot
Once loaded, the kernel initialises hardware, mounts a root file system and starts the first user-space process. The bootparam(7) manual page describes how the kernel uses its command line:
- The command line is split into space-separated arguments. The kernel handles its own and passes the rest to PID 1.
root=names the root file system device, androorrwsets how it is mounted first.rwis the default;rolets fsck run on a quiet file system.init=chooses the first program. Without it, the kernel tries/sbin/init,/etc/init,/bin/initand/bin/sh, and panics if none works.
Kernel versions and files
| Item | Where |
|---|---|
| Running version | uname -r |
| Kernel images | /boot/vmlinuz-<version> |
| Modules for a version | /lib/modules/<version>/ |
| Boot messages | dmesg, journalctl -k -b |
| Configuration of the running kernel | /boot/config-<version>, or /proc/config.gz if enabled |
Messages that place a failure
| Message | Meaning |
|---|---|
VFS: Unable to mount root fs on unknown-block(0,0) | No root device found: missing driver or initramfs, wrong root= |
Kernel panic - not syncing: No working init found | No init program at the expected path |
Kernel panic - not syncing: Attempted to kill init! | PID 1 crashed or exited |
Run /init as init process | The kernel has handed over to the initramfs |
host$ uname -r
6.8.0-49-generic
host$ journalctl -k -b --no-pager | head -5
kernel: Linux version 6.8.0-49-generic (buildd@lcy02-amd64-019) ...
kernel: Command line: BOOT_IMAGE=/vmlinuz-6.8.0-49-generic root=UUID=3f1c...a9 ro quiet splash
host$ dmesg --level=err,warn | tail
host$ ls /lib/modules/
6.8.0-45-generic 6.8.0-49-generic
host$ dpkg -l 'linux-image-*' | awk '/^ii/{print $2}'
host$ rpm -q kernel
init=/bin/bash for emergencies
Booting with init=/bin/bash starts a root shell instead of systemd, without services, and usually with root mounted read-only (ro). It's a last-resort way to reset a forgotten root password. Remount with mount -o remount,rw / before changing anything, and expect SELinux relabelling issues on SELinux systems.
Documented example, not captured output.
How it works at runtime
Linux Kernel is part of Boot Process → Linux Kernel. Linux Kernel in the boot context covers decompression/startup, early hardware initialization, built-in and module-dependent device discovery, command-line parsing and handoff into initramfs or the configured init process.
Topic-specific state model. Linux Kernel in the boot context covers decompression/startup, early hardware initialization, built-in and module-dependent device discovery, command-line parsing and handoff into initramfs or the configured init process.
Interpretation rule. - GRUB loaded a kernel image ≠ that kernel is compatible with current hardware/modules.
- Kernel prints messages ≠ required storage, filesystem or root device was discovered.
- Kernel version installed ≠ that exact version was booted.
- Kernel reaches initramfs ≠ real root and PID 1 will start successfully.
Quick reference
The kernel image (/boot/vmlinuz-<version>) is loaded by the boot loader with a command line and initramfs. Managing kernels:
uname -r
rpm -q kernel; dnf list --showduplicates kernel
apt list --installed 'linux-image-*'
grubby --default-kernel
dnf remove --oldinstallonly --setopt installonly_limit=2 kernel
Kernel panics during boot show on the console; capture them with a serial console (console=ttyS0) or kdump (kdumpctl status) for analysis. After kernel updates, needs-restarting -r (RHEL) or /var/run/reboot-required (Ubuntu) indicates a reboot is needed.
Limits and how it fails
Primary failure point. Kernel-stage evidence shows kernel execution and required early device discovery only to the observed point, but it does not show real-root mount, systemd convergence or application readiness.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. Linux Kernel owns early kernel execution in the boot chain. Kernel & Hardware owns broader runtime module/hardware administration; initramfs owns early userspace payload; systemd Boot owns PID 1 convergence.
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 → Linux Kernel. 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: booted-kernel identity, kernel startup and administrator-visible runtime boundaries. 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/ · 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
Linux Kernel operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Linux Kernel.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | Linux Kernel in the boot context covers decompression/startup, early hardware initialization, built-in and module-dependent device discovery, command-line parsing and handoff into initramfs or the configured init process. | 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 | bootloader handoff → kernel decompression/entry → architecture/platform init → command-line parse → built-in driver/device discovery → initramfs/init selection → root handoff/userspace | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | Kernel-stage evidence proves kernel execution and required early device discovery only to the observed point; it does not prove real-root mount, systemd convergence or application readiness. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux boot evidence can establish this proof path: bootloader handoff → kernel decompression/entry → architecture/platform init → command-line parse → built-in driver/device discovery → initramfs/init selection → root handoff/userspace | 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-stage evidence proves kernel execution and required early device discovery only to the observed point; it does not prove real-root mount, systemd convergence or application readiness. | 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. |
Linux Kernel · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | Linux Kernel |
|---|---|
| Topic path | Boot Process → Linux Kernel |
| Runtime state | Linux Kernel in the boot context covers decompression/startup, early hardware initialization, built-in and module-dependent device discovery, command-line parsing and handoff into initramfs or the configured init process. |
| Fast checks | - Record the booted/selected kernel version and exact command line from the failing attempt. - Inspect early console/kernel messages for architecture, driver, storage, filesystem, ACPI/IOMMU and panic/oops failures before user-space starts. - Verify required drivers are built in or available to initramfs and that root/storage identifiers match current topology. - After repair, boot the intended kernel normally and verify root mount, PID 1, services and workload rather than stopping at absence of a panic. |
| Verification chain | bootloader handoff → kernel decompression/entry → architecture/platform init → command-line parse → built-in driver/device discovery → initramfs/init selection → root handoff/userspace 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-stage evidence proves kernel execution and required early device discovery only to the observed point; it does not prove real-root mount, systemd convergence or application readiness. 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. |