kexec Command Examples

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

kexec {{[-l|--load]}} {{path/to/kernel}} --initrd={{path/to/initrd}} --command-line={{arguments}}

kexec {{[-l|--load]}} {{path/to/kernel}} --initrd={{path/to/initrd}} --reuse-cmdline

kexec {{[-e|--exec]}}

kexec {{[-u|--unload]}}