LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-kexec

Reboot using kexec fast path

TLDR

Fast kexec reboot
$ systemctl kexec
copy
Fall back to normal reboot if no kexec kernel loaded
$ systemctl kexec --force
copy

SYNOPSIS

systemctl kexec [OPTIONS]

DESCRIPTION

systemctl kexec shuts down and reboots the system via kexec, which loads and boots directly into a new kernel without going through BIOS/UEFI firmware. This provides significantly faster reboots by skipping hardware initialization.A kexec kernel must be loaded beforehand (e.g. via `kexec -l`) or this command will fail. If no kernel is loaded, use `--force` to fall back to a normal reboot.

PARAMETERS

-f, --force

Continue without a kexec kernel, performing a normal reboot instead. If specified twice, skip service shutdown and immediately reboot (may cause data loss).

CAVEATS

Requires a kernel to be pre-loaded with `kexec -l`. Skips firmware initialization, which may cause issues with some hardware. Not all hardware supports kexec reliably. May not work with secure boot enabled.

HISTORY

The kexec subcommand integrates the Linux kexec facility with systemd's shutdown process, enabling fast reboots in environments where boot time is critical.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid