Easily choose a kernel to kexec
Kexec lets you boot your Linux kernel into another kernel without going through the hardware reset and reinitialization performed by your system BIOS or firmware. Since this process can take several minutes, being able to skip it reduces your downtime.
The problem with kexec is it's an entirely manual process, requiring you to copy and paste the right kernel, initrd and command line arguments, and hope you got everything right.
kexec-reboot aims to automate staging a kernel for kexec, so that you can reboot more quickly and accurately.
kexec-reboot requires the following packages to be installed:
kexec-tools2.0.0 or higher, for
ruby1.8.7 or higher
In addition, the system must use grub to boot, as kexec-reboot reads the grub configuration to determine what kernels are available. Both grub 1 and 2 are supported, as well as BIOS and UEFI boot.
kexec-reboot accepts the following command line arguments:
Choose the kernel to stage from a list
Stage the latest kernel
Reboot immediately after staging the kernel
After running kexec-reboot, simply reboot your system normally.
kexec-reboot -l -r
Stage the latest kernel for kexec and reboot immediately.
Show a list of available kernels and select one interactively.