Kexec: Difference between revisions

From Alpine Linux
(Add warning on this being not graceful)
(Added category, minor formatting and template changes)
Line 3: Line 3:
On a typical Alpine setup, it can be used via:
On a typical Alpine setup, it can be used via:


# kexec -l /boot/vmlinuz-edge --initrd /boot/initramfs-edge --reuse-cmdline
{{Cmd|# kexec -l /boot/vmlinuz-edge --initrd \
# kexec -e
    /boot/initramfs-edge --reuse-cmdline
# kexec -e}}


{{Warning|Running <code>kexec -e</code> does not unmount any filesystems or gracefully shut down any services!}}
{{Warning|Running <code>kexec -e</code> does not unmount any filesystems or gracefully shut down any services!}}
Line 10: Line 11:
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.


= See also =
== See also ==


* [https://wiki.gentoo.org/wiki/Kexec Gentoo Wiki: Kexec]
* [https://wiki.gentoo.org/wiki/Kexec Gentoo Wiki: Kexec]
* [https://wiki.archlinux.org/title/Kexec ArchWiki: Kexec]
* [https://wiki.archlinux.org/title/Kexec ArchWiki: Kexec]
[[Category: Booting]]
[[Category: Kernel]]

Revision as of 15:42, 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