For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Autoboot after Kernel Panic

Autoboot after Kernel Panic

Created by dave. Last edited by dave, 11 years and 4 days ago. Viewed 2,910 times. #1
[edit] [rdf]

Automatically Reboot after a Kernel Panic

Set the "/proc" var (via /etc/sysctl.conf) kernel.panic to the amount of seconds you like the panic screen stays on. After that amount of time the server will boot.

Note that this is probably a bad idea, since if a computer panics there is probably a reason for it and you'd like to study and correct that reason; masking it with an auto-reboot will probably act as a disincentive to correct the problem.

(Method seen on the CentOS mailing list; commentary mine.)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt