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.

One thought on “reboot on kernel panic

Leave a Reply to Nick Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s