disable selinux kernel panic

环境:CentOS 6.2
为了安装某个软件,把selinux给禁止了。
[root@jcx selinux]# pwd
/etc/selinux
[root@jcx selinux]# vi config
SELINUX=disabled

之后重启,完了,重启失败,显示:
Kernel panic - not sycing : Attempted to kill init!

google了下,最终找到解决方案。
重启系统,按F2进入grub界面,之后会看到一些内核列表。 进入编辑模式,在要启动的内核参数后边加上  enforcing=0, 如果还不可以的话,改为 selinux=0。之后就可以启动了。
参考:
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=34078
http://darktraining.com/vmware/86/

请使用浏览器的分享功能分享到微信等