kexec Command Examples

Directly reboot into a new kernel. More information: https://manned.org/kexec.

kexec -l {{path/to/kernel}} --initrd={{path/to/initrd}} --command-line={{arguments}}

kexec -l {{path/to/kernel}} --initrd={{path/to/initrd}} --reuse-cmdline

kexec -e

kexec -u