西数超哥博客
运维经验教程分享

linux启动出现kernel panic -not syncing:attempted to kill init 解决方法

重启linux后 提示错误:kernel panic -not syncing:attempted to kill init  pid:1,comm: init not tainted 2.6.32-358.e16.x86_64 #1

如图:

出现pid:1,comm: init not tainted 2.6.32-358.e16.x86_64 #1的原因一般是selinux配置文件有问题导致,

正常的配置文件应该是如图所示:

处理方法:

使用控制台重启linux服务器,然后按e (类似进入单用户模式方法,但不是进入单用户)如图所示,然后输入 enforcing=0 即可正常进入系统,进入系统后 在修改下selinux的配置文件vi /etc/selinux/config 将SELINUX修改为disabled 及SELINUXTYPE修改为targeted 即可

赞(0)
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥博客 » linux启动出现kernel panic -not syncing:attempted to kill init 解决方法