vmware Selinux配置错误,导致无法启动虚拟机

Linux 开机提示kernel panic - not syncing: Attempted to kill init! 解决方法:

系统启动的时候,按下‘e’键进入grub编辑界面,编辑grub菜单,选择“kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/vogroup00/logvol00 rhgb quiet” 一栏,按‘e’键进入编辑,在末尾增加enforcing=0,即:

kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/vogroup00/logvol00 rhgb quiet enforcing=0

按‘b’键继续引导,OK顺利前进。

也有可能是selinux配置不当造成开不机,解决方法:在启动内核的参数上增加 selinux=0 来关闭selinux

原文地址:https://www.cnblogs.com/heidsoft/p/3991808.html