table of contents
KEXEC-BOOTLOADER(8) | System Administration | KEXEC-BOOTLOADER(8) |
NAME¶
kexec-bootloader - load kexec kernel from boot loader configuration.
SYNOPSIS¶
kexec-bootloader [OPTIONS]
DESCRIPTION¶
kexec-bootloader takes the default section of the boot loader configuration and loads that kernel and initrd with kexec -l and the respective command line.
Under systemd kexec-bootloader may be invoked by kexec-load.service (systemctl kexec) to perform a kexec.
To emulate previous SLE configurable behaviour where kexec occurs automatically at system reboot the systemd reboot target should be altered via ln -s /usr/lib/systemd/system/kexec.target /etc/systemd/system/reboot.target.
OPTIONS¶
--dry-run
Do everything but don’t actually run kexec.
-D, --debug
Prints debugging output.
-h, help
Shows a short usage message.
RETURN VALUE¶
The program returns 0 on success and 1 on failure.
SEE ALSO¶
2024-03-19 | kexec-bootloader 1.8.1 |