Kernel Panic

[UNTESTED] Auto Reboot after Kernel Panics

[UNTESTED] Auto Reboot after Kernel Panics

Set at runtime:

echo 20 | sudo tee /proc/sys/kernel/panic

Alternatively, to make it persistent, add the following to /etc/sysctl.conf (and not a separate file inside /etc/sysctl.d/):

kernel.panic = 20

Apply changes:

sudo sysctl -p

References

https://hub.mender.io/t/how-to-make-raspberry-pi-auto-reboot-after-kernel-panic/5152

ChatGPT

Content Licensed under CC BY-SA 4.0. Code licensed under the MIT License.