encyclopegia.org

Kexec

kexec (kernel execute), analogous to the Unix/Linux kernel call exec, is a mechanism of the Linux kernel that allows booting of a new kernel from the currently running one.[src]

kexec (kernel execute), analogous to the Unix/Linux kernel call exec, is a mechanism of the Linux kernel that allows booting of a new kernel from the currently running one.[src] ==Details== Essentially, kexec skips the bootloader stage and hardware initialization phase performed by the system firmware (BIOS or UEFI), and directly loads the new kernel into main memory and starts executing it immediately.[src] This avoids the long times associated with a full reboot, and can help systems to meet high-availability requirements by minimizing downtime.[src] While feasible, implementing a mechanism such as kexec raises two major challenges: Memory of the currently running kernel is overwritten by the new kernel, while the old one is still executing.[src] The new kernel will usually expect all hardware devices to be in a well defined state, in which they are after a system reboot because the system firmware resets them to a "sane" state.[src] Bypassing a real reboot may leave devices in an unknown state, and the new kernel will have to recover from that.[src] Support for allowing only signed kernels to be booted through kexec was merged into version 3.17 of the Linux kernel mainline, which was released on October 5, 2014.[src] This disallows a root user to load arbitrary code via kexec and execute it, complementing the UEFI secure boot and in-kernel security mechanisms for ensuring that only signed Linux kernel modules can be inserted into the running kernel.[src] Kexec is used by LinuxBoot to boot the main kernel from the Linux kernel located in the firmware.[src]

10 sentences · 10 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Kexec." encyclopegia.org, 2025, https://encyclopegia.org/wiki/kexec. Accessed 26 November 2026.

Chicago

"Kexec." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/kexec.

APA

encyclopegia.org. (2025). Kexec. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/kexec

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2014-10-05Wikipedia
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1276493958 · 0.5 · snapshot enwiki-001276493958

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.