Taken from:
- Code: Select all
man bootparam
'panic=N'
By default the kernel will not reboot after a panic, but this option will cause a kernel reboot after N seconds (if N is greater than zero). This panic timeout can
also be set by "echo N > /proc/sys/kernel/panic".
Also you can disable or enable SELinux at boot time with the help of kernel boot time parameters:
selinux=0 disable selinux
selinux=1 enable selinux
For example (/boot/grub/grub.conf):
- Code: Select all
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.12.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.12.1.el5 ro root=/dev/md1 panic=40 selinux=0
initrd /initrd-2.6.18-238.12.1.el5.img