Kexec: Difference between revisions

From Alpine Linux
m (Typo)
(Add warning on this being not graceful)
Line 5: Line 5:
  # kexec -l /boot/vmlinuz-edge --initrd /boot/initramfs-edge --reuse-cmdline
  # kexec -l /boot/vmlinuz-edge --initrd /boot/initramfs-edge --reuse-cmdline
  # kexec -e
  # kexec -e
{{Warning|Running <code>kexec -e</code> 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.
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.

Revision as of 12:56, 13 August 2023

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