I bring a solution to the problem caused by the kexec-tools, no need to remove it, use only the script that I offer you to choose between faster with kexec reboot or restart normally (with bios and grub).
1 .- download the file and extract the content (a folder called kexec switch)
2 .- Within the folder are 2 scripts, one in Spanish and in English.
3 .- Select the correct language script and copy it where you like.
4 .- Give execution permission:
Code: Select all
sudo chmod + x filename.sh
6 .- Now we will edit the sudoers file
Open a terminal & run:
Code: Select all
EDITOR=nano
sudo visudo
Code: Select all
ALL ALL=NOPASSWD:/sbin/shutdown
ALL ALL=NOPASSWD:/sbin/coldreboot
7.- run the script and enjoy !!!