System Grab Bag

View all TLDR pages from Linux (or from all pages)

kexec

Directly reboot into a new kernel. More information: https://manned.org/kexec.
  • 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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.