提示Kernel Panic - not syncing

技术问题

提示Kernel Panic - not syncing

2025-02-14 09:40


提示Kernel Panic - not syncing

                                            




云服务器启动时候提示Kernel Panic - not syncing: Attempted to kill init!

linux在系统启动时出现如下信息

Kernel Panic - not syncing: Attempted to kill init!

此问题一般是出现在hyper-v虚拟化平台上;

 

解决方法:

 

系统启动的时候,按下‘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键继续引导即可!

 

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

 


標簽:
  • 提示Kernel Panic - not syncing