reboot on kernel panic

I don’t remember how I found this, but I’ll pass it along.  One thing you can add when booting your kernel is panic=<integer> to tell the kernel to reboot the system if it hits a kernel panic, after <integer> number of seconds.

It comes in pretty handy for me when dealing with booting over the network, and I forgot to setup my DHCP or TFTP or kernel incorrectly… gives you a chance to fix it in the rebooting interim if its something minor.

Of course, you probably wouldn’t want that on your kernel boot by default, since it could get stuck in a reboot loop if you really screwed something up.

1 comment on “reboot on kernel panic

Leave a Reply