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
free 100$ digital ocean credit