Saturday, January 21, 2012

[tips & trick] reboot on panic


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
fallback 1
title CentOS (2.6.18-274.7.1.el5.028stab095.1xen)
root (hd0,0)
kernel /boot/xen.gz-2.6.18-274.7.1.el5.028stab095.1 panic=10
module /boot/vmlinuz-2.6.18-274.7.1.el5.028stab095.1xen ro root=LABEL=/
module /boot/initrd-2.6.18-274.7.1.el5.028stab095.1xen.img
title CentOS (2.6.18-274.17.1.el5xen)
root (hd0,0)
kernel /boot/xen.gz-2.6.18-274.17.1.el5 panic=10
module /boot/vmlinuz-2.6.18-274.17.1.el5xen ro root=LABEL=/
module /boot/initrd-2.6.18-274.17.1.el5xen.img
title CentOS (2.6.18-238.el5xen)
root (hd0,0)
kernel /boot/xen.gz-2.6.18-238.el5 panic=10
module /boot/vmlinuz-2.6.18-238.el5xen ro root=LABEL=/
module /boot/initrd-2.6.18-238.el5xen.img

you can use webmin. put Kernel options : panic=10

No comments:

Related Posts Plugin for WordPress, Blogger...