Monday, April 26, 2010

Disable reboot continuously on kernel panic

In order to disable reboot continuously on kernel panic add panic=0 to the kernel boot options in /boot/grub/menu.list:
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro quiet panic=0


  1. Hi, I've just installed Debian Wheezy (four years after your post) and I see that like me, many people are still experiencing the continuous reboot. Does your solution prevent the crash or does it just cause the machine to not restart?

    Also, menu.lst is replaced by /boot/grub/grub.cfg. Can panic=0 be added there?


  2. Debian wheezy is using grub 2 so you can't do that. Instead find related file under /etc and issue update-grub to actually update any files related to boot.