Kexec

From Alpine Linux
Revision as of 12:56, 13 August 2023 by WhyNotHugo (talk | contribs) (Add warning on this being not graceful)

Kexec is a system call that enables loading and booting into another kernel. This is useful for fast reboots that skip the BIOS or UEFI initialisation process.

On a typical Alpine setup, it can be used via:

# kexec -l /boot/vmlinuz-edge --initrd /boot/initramfs-edge --reuse-cmdline
# kexec -e
Warning: Running kexec -e does not unmount any filesystems or gracefully shut down any services!


There are no Alpine-specific considerations for Kexec. Please review the man page and existing references below of more details. This page is deliberately kept short in order to avoid duplicating existing documentation.

See also