Use it when a server does not come back after a reboot or update.
Boot Failure
A boot failure means the system does not reach its normal target: it stops in firmware, GRUB, the kernel, the initramfs or emergency mode.
power on → firmware → GRUB → kernel → initramfs → root mount → systemd → target
For Linux Troubleshooting → Boot Failure, continue with the first unproven Topic check: Capture console/serial output and exact failing boot entry/kernel/initramfs. If that boundary is healthy, advance to the adjacent check: Inspect previous-boot journal and kernel messages, root device identifiers, initramfs contents and mount dependencies. 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.
journalctl -b -p warning --no-pagerPrimary Commands
Configuration and operational commands for this Topic.
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
Healthy evidence: console and previous-boot evidence show successful handoff through the formerly failed stage, intended root/mounts activate, target is reached and the original workload survives a clean reboot.
Step 2 Command read-back and what it shows Verify boundary
Known-good is current-boot journal reaches the expected systemd target without critical boot-path failures, required filesystems/units are active and the original host/service availability test succeeds after reboot; broken state is repeatable root-mount/initramfs/kernel errors, emergency/rescue target, critical failed units or apparent boot completion with the same required service unavailable. journalctl -b shows messages retained for the current boot after journald becomes available; it may not capture firmware/bootloader failures and does not alone show every application is healthy.
Step 3 Known-good, broken and when it is fixed Verify boundary
Verification for Linux Troubleshooting → Boot Failure must discriminate known-good from broken/suspicious state. With journalctl -b -p warning --no-pager, known-good is: no unresolved boot-critical warning/error aligns with the reported symptom and required services reach expected state. Broken/suspicious is: kernel, mount, driver, dependency or service failures align in time/order with the boot problem. Read back the same target after the minimal approved change, then follow the first failed dependency with systemd unit/kernel/storage evidence before changing bootloader or initramfs state.
Step 4 Commands Verify boundary
journalctl -b -1 -p err
systemctl --failed
cat /proc/cmdline
lsblk -f # from rescue media
Step 5 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Capture console/serial output and exact failing boot entry/kernel/initramfs.
- Inspect previous-boot journal and kernel messages, root device identifiers, initramfs contents and mount dependencies.
- Determine whether failure begins before kernel, during initramfs/root switch, in systemd dependency ordering or in a later service.
- After minimal repair, cold/reboot with the intended boot entry and verify login plus original workload.
Step 6 Failure modes and next checks Narrow the fault
Suspicious evidence: only current-boot logs are examined, rescue mode hides normal dependencies, device names are assumed stable, or one successful manual mount/start is mistaken for repaired boot ordering.
Step 7 Observation-driven branch and next-check logic Narrow the fault
If journal shows kernel/initramfs/root-mount errors, inspect storage UUID/LVM/crypt/filesystem first; if root mounts but emergency mode appears, inspect failed mounts/units; if boot reaches multi-user/graphical target but service unavailable, move to that service rather than treating boot as failed.
Step 8 Observation-driven troubleshooting tree Narrow the fault
Troubleshoot Linux Troubleshooting → Boot Failure from one exact failing target, revision/input and timestamp. Capture journalctl -b -p warning --no-pager before mutation, then branch by the first divergent observation: no bootloader or kernel output, remain at firmware/bootloader; kernel starts but drops to initramfs, inspect root-device discovery, modules, unlock and filesystem; root mounts but emergency mode appears, follow failed mount/unit dependencies; multi-user target is reached but one service is unavailable, treat it as service failure rather than bootloader repair; intermittent boots require correlation with the exact boot ID, hardware/storage events and previous-known-good kernel. Typical failure signatures include wrong boot target, broken GRUB entry, missing initramfs driver, kernel panic, root UUID mismatch, failed LUKS unlock, degraded array/path loss, filesystem error, malformed fstab dependency, mount timeout, systemd ordering cycle, required service failure or a successful boot whose application tier never becomes ready.
Step 9 Failure signatures, dependencies and operational guardrails Narrow the fault
Failure-signature and guardrail reference for Linux Troubleshooting → Boot Failure: Wrong boot target, broken GRUB entry, missing initramfs driver, kernel panic, root UUID mismatch, failed LUKS unlock, degraded array/path loss, filesystem error, malformed fstab dependency, mount timeout, systemd ordering cycle, required service failure or a successful boot whose application tier never becomes ready. Operational guardrail: The mapped previous/current boot journal is historical/state evidence for one boot ID and can be incomplete before persistent logging becomes available, but it does not show firmware, bootloader or storage-layer health by itself. Prefer a reversible previous-kernel/initramfs or unit-level fix, then perform a controlled reboot and verify the original required service plus one adjacent storage/network dependency before closure. Dependencies that can mimic the same symptom are UEFI/BIOS and boot order, GRUB/systemd-boot entries, kernel/initramfs compatibility, storage and filesystem drivers, LUKS/LVM/MD/multipath, /etc/fstab, kernel parameters, systemd units/generators, device naming, network-required mounts and hardware/virtualization state.
Step 10 Common mistakes Narrow the fault
- Reinstalling before reading the previous boot's logs.
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.
Identify the last stage on the console. Boot the previous kernel, or rescue/emergency mode, to repair. Most post-change boot failures are fstab entries, a new kernel/initramfs, or a full /boot.
journalctl -b -p err— errors this bootsystemctl --failed— failed unitsdf -h; df -i— space and inodesss -tulpn— listening socketsdmesg -T | tail— recent kernel messages
ReferenceWhat it is1 section · depth on demand
Core model
Identify the last known successful boot and the earliest failed stage. Separate firmware/bootloader reachability, kernel handoff, initramfs/root discovery, filesystem mount, systemd target progression and application startup; preserve rescue/emergency actions that can change evidence.
ReferenceHow it works2 sections · depth on demand
How it works
Boot Failure is governed by firmware/bootloader handoff, kernel/initramfs, root-filesystem discovery and systemd userspace target progression. Linux boot moves through firmware/bootloader, kernel and initramfs device discovery before mounting the real root and starting systemd units; each stage owns different logs and failure signatures, so later userspace evidence may not exist for an earlier boot failure. Storage visibility, filesystem integrity, kernel modules, crypt/LVM/RAID, fstab and critical systemd units are distinct boundaries. The important state separation is that a kernel that starts does not mean the root filesystem can be mounted, and reaching systemd does not show the default target or application services completed.
Execution mechanics in detail
Linux Troubleshooting → Boot Failure owns firmware and boot-device selection, bootloader configuration, kernel and command line, initramfs drivers/hooks, root-device discovery and unlock, root filesystem mount, systemd generator/target dependency graph, required mounts/services and the user-visible service state reached after boot. Execution mechanics: A successful Linux boot progresses through firmware and bootloader into the selected kernel, initializes enough hardware and storage in initramfs to locate/unlock/mount the real root, switches root, lets systemd construct and execute the target dependency graph, mounts required filesystems and starts services; the last visible stage determines which evidence source is authoritative. Keep adjacent dependencies separate: UEFI/BIOS and boot order, GRUB/systemd-boot entries, kernel/initramfs compatibility, storage and filesystem drivers, LUKS/LVM/MD/multipath, /etc/fstab, kernel parameters, systemd units/generators, device naming, network-required mounts and hardware/virtualization state. The mapped read surface journalctl -b -p warning --no-pager exposes warning-or-higher journal records from the current boot.
ReferenceImportant terms & boundaries4 sections · depth on demand
What this shows and what it does not
Boot Failure owns cross-stage boot isolation; Boot Process, systemd & Services, Filesystems & Mounting, LVM, Encryption and package/kernel branches own specialist repair depth.
In depth
Troubleshooting a system that doesn't boot
The first job is to find the boot stage where the system stops, because every stage fails differently. The systemd bootup(7) manual page describes the order:
1. Firmware.
2. Boot loader.
3. Kernel and initramfs (initrd.target, then the switch to the real root).
4. The host system: sysinit.target and basic.target up to default.target.
Emergency and rescue targets are the fallbacks, and the systemd.unit= kernel option can select another target.
Symptoms by stage
| Where it stops | Typical symptom | Approach |
|---|---|---|
| Firmware | "No bootable device"; wrong entry | Boot order, efibootmgr; disk detected in firmware? |
| GRUB | grub> or grub rescue> prompt | Load the config by hand (search, linux, initrd, boot), then reinstall GRUB |
| Kernel | Kernel panic, "VFS: Unable to mount root fs" | Boot the previous kernel; check root=; rebuild the initramfs |
| initramfs | A dracut or initramfs shell | Missing driver, wrong UUID, LUKS, LVM or RAID not assembled |
| systemd, early | "You are in emergency mode" | Usually /etc/fstab; journalctl -xb |
| systemd, late | Boots, but services fail or there's no login | systemctl --failed; network or display manager |
Tools for getting in
| Situation | Method |
|---|---|
| A local console works | Choose the previous kernel in GRUB; add systemd.unit=rescue.target |
| No root password, or a locked root account | rd.break (dracut) or init=/bin/bash |
| GRUB or disk broken | Boot installation media, mount the disks, chroot |
| A cloud VM | The serial console, or attach the disk to another VM |
Repairing from a live system with chroot
live# lsblk -f
live# vgchange -ay && mount /dev/vg0/root /mnt
live# mount /dev/nvme0n1p2 /mnt/boot && mount /dev/nvme0n1p1 /mnt/boot/efi
live# for d in dev proc sys run; do mount --rbind /$d /mnt/$d; done
live# chroot /mnt /bin/bash
chroot# blkid | grep -E "root|boot"; grep -v '^#' /etc/fstab
chroot# dracut -f --regenerate-all || update-initramfs -u -k all
chroot# grub2-mkconfig -o /boot/grub2/grub.cfg || update-grub
chroot# exit
live# journalctl -D /mnt/var/log/journal -b -1 -p err --no-pager | tail
Read the logs of the failed boot
With a persistent journal, the logs of the failed boot are on disk even when the system never got to a login. journalctl -D <path> reads them from a mounted disk, and they usually name the failing step directly.
Documented example, not captured output.
How it works at runtime
Boot Failure is part of Linux Troubleshooting → Boot Failure. Boot Failure isolates why Linux does not reach the intended boot target, login surface or workload by separating firmware/bootloader, kernel/initramfs, root-filesystem, PID 1/systemd, mount and service dependencies.
Topic-specific state model. Boot Failure isolates why Linux does not reach the intended boot target, login surface or workload by separating firmware/bootloader, kernel/initramfs, root-filesystem, PID 1/systemd, mount and service dependencies.
Interpretation rule. - Bootloader menu visible ≠ kernel can load the intended root filesystem.
- Kernel started ≠ initramfs discovered/decrypted/activated the real root device.
- systemd reached multi-user.target ≠ every required workload is healthy.
- A reboot that succeeds once ≠ boot chain is durable across the original configuration.
Method
Boot failure triage by stage:
| Stage | Symptom | Fix path |
|---|---|---|
| Firmware | No boot device | Boot order, UEFI entries (efibootmgr -v) |
| GRUB | grub rescue> / menu missing | Reinstall GRUB from rescue media, check /boot |
| Kernel | Panic, VFS: unable to mount root | initramfs missing drivers, wrong root= |
| initramfs | Dracut emergency shell | LVM/RAID/LUKS not found, UUID changed |
| systemd | Emergency mode | Bad /etc/fstab entry, failed mount |
# from emergency shell
journalctl -xb -p err
mount -o remount,rw /
systemctl list-units --failed
# from rescue media (chroot)
mount /dev/vg/root /mnt; mount /dev/sda2 /mnt/boot; for d in dev proc sys run; do mount --bind /$d /mnt/$d; done; chroot /mnt
dracut -f --regenerate-all # or update-initramfs -u -k all
grub2-mkconfig -o /boot/grub2/grub.cfg
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. Boot Failure owns cross-stage boot isolation; Boot Process, systemd & Services, Filesystems & Mounting, LVM, Encryption and package/kernel branches own specialist repair depth.
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 Linux Troubleshooting → Boot Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/ · confidence 94%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
Boot Failure operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Boot Failure.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | Boot Failure isolates why Linux does not reach the intended boot target, login surface or workload by separating firmware/bootloader, kernel/initramfs, root-filesystem, PID 1/systemd, mount and service dependencies. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin symptom + exact time + host/boot/user → define scope + expected baseline → preserve original failing test → collect targeted kernel/process/service/storage/network/security/log evidence → identify first divergent boundary → make one minimal reversible change → repeat original test → verify adjacent regressions and retain before/after evidence. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | symptom + exact time → scope + baseline → reproduce original failure → collect first-party evidence → identify first failed boundary → minimal controlled change → repeat original test → regression/posture check | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | Boot Failure troubleshooting is complete only when evidence localizes the first failed Linux boundary and the original failing workload passes after the smallest justified change; intermediate command success is not final proof. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux troubleshooting evidence can establish this proof path: symptom + exact time → scope + baseline → reproduce original failure → collect first-party evidence → identify first failed boundary → minimal controlled change → repeat original test → regression/posture check | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove behavior outside the captured host, boot, process/user, dependency, time or workload scope. Boot Failure troubleshooting is complete only when evidence localizes the first failed Linux boundary and the original failing workload passes after the smallest justified change; intermediate command success is not final proof. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven boundary: reproduce the exact original failure, collect the owning subsystem evidence at the same time, change only the proven cause or prerequisite, then repeat the original workload and regression checks. | Continue to the next unresolved boundary while preserving the original test condition. |
Boot Failure · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | Boot Failure |
|---|---|
| Topic path | Linux Troubleshooting → Boot Failure |
| Runtime state | Boot Failure isolates why Linux does not reach the intended boot target, login surface or workload by separating firmware/bootloader, kernel/initramfs, root-filesystem, PID 1/systemd, mount and service dependencies. |
| Fast checks | - Capture console/serial output and exact failing boot entry/kernel/initramfs. - Inspect previous-boot journal and kernel messages, root device identifiers, initramfs contents and mount dependencies. - Determine whether failure begins before kernel, during initramfs/root switch, in systemd dependency ordering or in a later service. - After minimal repair, cold/reboot with the intended boot entry and verify login plus original workload. |
| Verification chain | symptom + exact time → scope + baseline → reproduce original failure → collect first-party evidence → identify first failed boundary → minimal controlled change → repeat original test → regression/posture check 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 | Boot Failure troubleshooting is complete only when evidence localizes the first failed Linux boundary and the original failing workload passes after the smallest justified change; intermediate command success is not final proof. 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. |