How to use
kexec in Fedora Linux to fast-reboot automatically to the newest installed kernel?
kexec --load command line usage is rather verbose — you have to provide:
- kernel image, like
- corresponding initrd file, like
- kernel command-line arguments, like
--append="root=/dev/sda1 ro rhgb quiet LANG=en_US.UTF-8", from
It is tedious to type it all, as even tab completion does not help too much, because there are usually multiple kernels installed.
With UEFI systems and Windows 8 dual-boot laptop it is easy to miss just a right moment to interrupt reboot to select non-default system. If you miss then you have to wait for Windows 8 to start, maybe automatically login, reboot and try again.