Install the package:
Create /etc/systemd/system/kexec-pve.service with content:
Enable:
Now you can reboot without the whole UEFI/BIOS/OpROM stuff with
Code:
echo "kexec-tools kexec-tools/load_kexec boolean false" | debconf-set-selections
apt-get -y install kexec-tools
Create /etc/systemd/system/kexec-pve.service with content:
Code:
[Unit]
Description=boot into into the current pve kernel
Documentation=man:kexec(8)
DefaultDependencies=no
Before=shutdown.target umount.target final.target
[Service]
Type=oneshot
ExecStart=/sbin/kexec -l /boot/pve/vmlinuz --initrd=/boot/pve/initrd.img --reuse-cmdline
[Install]
WantedBy=kexec.target
Enable:
Code:
systemctl enable kexec-pve.service
Now you can reboot without the whole UEFI/BIOS/OpROM stuff with
Code:
systemctl kexec
Last edited: