Section: Maintenance Commands (8)
Updated: October 13, 2004
Index Return to Main Contents


kexec - Tool to load a kernel for warm reboot and initiate a warm reboot  


kexec [options] files...  


kexec allows one to load another kernel from the currently running Linux kernel. Normally one would load a kernel, and possibly an initial ramdisk, into the currently running kernel using kexec and then initiate a warm reboot by executing kexec again with appropriate option.  


These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
-h, --help
Show summary of options.
-v, --version
Show version of program.
-f, --force
Force an immediate kexec without calling shutdown.
-x, --no-ifdown
Don't bring down network interfaces. (if used, must be last option specified)
-l, --load
Load the new kernel into the current kernel.
-p, --load-panic
Load the new kernel for use on panic.
-u, --unload
Unload the current kexec target kernel.
-e, --exec
Execute a currently loaded kernel.
-t, --type=TYPE
Specify the new kernel is of this type.
Specify the lowest memory addres to load code into.
Specify the highest memory addres to load code into.
There may be additional options supported on individual architectures. Use --help option to see those options.


kexec was written by Eric Biederman.

This manual page was written by Khalid Aziz <>, for the Debian project (but may be used by others).



AUTHOR manual pages