kexec

kexec

TLDR

Load a new kernel

$ kexec -l [path/to/kernel] --initrd=[path/to/initrd] --command-line=[arguments]
copy


Load a new kernel with current boot parameters
$ kexec -l [path/to/kernel] --initrd=[path/to/initrd] --reuse-cmdline
copy


Execute a currently loaded kernel
$ kexec -e
copy


Unload current kexec target kernel
$ kexec -u
copy

Copied to clipboard