kexec
Directly reboot into a new kernel.
- Load a new kernel:
kexec -l {path/to/kernel} --initrd={path/to/initrd} --command-line={arguments}
- Load a new kernel with current boot parameters:
kexec -l {path/to/kernel} --initrd={path/to/initrd} --reuse-cmdline
- Execute a currently loaded kernel:
kexec -e
- Unload current kexec target kernel:
kexec -u
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).