Linux Tip: Auto Reboot after Kernel Panic

I thought I'd share this little known trick that I discovered while reading through parts of the linux kernel...

Linux has the ability to automatically reboot after a kernel panic, it goes as follows

Assuming you use lilo, edit the /etc/lilo.conf file
under your current (and future) boot images, add the line:
append="panic=15"

Then reload lilo by running /sbin/lilo

And next time you have a kernel panic (heaven forbid!) it should reboot after 15 seconds!

Enjoy.

 

 

 

 

Top