What would be the proper way to make Ubuntu reboot using kexec by default (especially when the reboot is initiated from the GUI)?

I found this kexec reboot script, that when downloaded and run with sudo kexec-reboot -l -r reboots the kernel with kexec (does not go through EFI).

How can I make it so that choosing reboot from a GUI results in a kexec reboot? I am using Unity 7 on Bionic (18.04). It used to work just by installing the package and configuring it with dpkg, but that says it is System-V only and now we are using systemd.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.