/ notes

Force server to reboot

I had a situation when one of my servers failed to start and entered to the recovery mode and used VNC to connect to it, I have done manipulations to recover it. I typed reboot ...and the server denied me.

failed to start reboot.target transaction is destructive

Googled solution is:

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger