服务器重启报kernel panic - not syncing :Attempted to kill init 错误
服务器重启报“kernel panic - not syncing :Attempted to kill init!”
“Pid: 1,comm: init Not tainted 2.6.32-358.e16.x86_64 #1 ”
从网上查了好多,都是一些指向SELINUX的处理方法
度娘方法1:通过启动时,选择“kernel /vmlinuz-XXXXro root=/dev/vogroup00/logvol00 rhgb quiet” 一栏,按‘e’键进入编辑,在末尾增加enforcing=0或者selinux=0,然后回车保存,按B重新引导
度娘方法2:通过光盘救援模式,修改系统的selinux配置文件(只适用于config文件损坏的),进入救援模式修改/mnt/sysimage/etc/selinux/config(/mnt/sysimage/为原系统的根目录,默认挂载在这个目录下)
最后所有方法尝试无果后,选择通过光盘救援模式恢复内核
进入救援模式后
# cd boot
# ls -l
可以看到有initramfs-2.6.32-754.el6.x86_64.img20210101这样的内核备份
我们可以直接将原先的initramfs-2.6.32-754.el6.x86_64.img的备份,再将initramfs-2.6.32-754.el6.x86_64.img20210101改为initramfs-2.6.32-754.el6.x86_64.img,具体命令如下:
#mv ./initramfs-2.6.32-754.el6.x86_64.img ./initramfs-2.6.32-754.el6.x86_64.img20211215bak
#cp ./initramfs-2.6.32-754.el6.x86_64.img20210101 ./initramfs-2.6.32-754.el6.x86_64.img
然后重启,问题解决
服务器重启报kernel panic - not syncing :Attempted to kill init 错误相关推荐
- 【Linux】误删libc提示Kernel panic not syncing: Attempted to kill init解决办法
系统类型:CentOS 6.5(x64) 启动提示:Kernel panic - not syncing: Attempted to kill init 背景:因为误删了 libc.so.6 ...
- linux启动根文件失败报错:进程退出exitcode,Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
进程退出的 exitcode 错误信息 内核打印 1 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b 分 ...
- Centos 6或7系统 从Kernel panic – not syncing: Attempted to kill init 故障引发的一系列操作
Centos 6或7系统 从Kernel panic – not syncing: Attempted to kill init 故障引发的一系列操作 Step1 问题描述 Step2 故障处理 St ...
- linux 开机提示 Kernel panic - not syncing: Attempted to kill init! 解决方案
原因极可能是:"在设置selinux的时候,是不是位置写错了,应该修改SELINUX行,而不是SELINUXTYPE" 问题:开机提示"Kernel panic - no ...
- Kernel panic -not syncing:Attempted to kill init!
DELL R210II安装RHEL后启动系统正常,关机再装磁盘阵列卡接好磁盘阵列,开机后CTRL+R进入界面配置RAID5. 启动后出现错误: Kernel panic -not syncing:At ...
- Linux启动提示Kernel panic - not syncing: Attempted to kill init解决办法
系统类型:CentOS 6.5(x64) 启动提示:Kernel panic - not syncing: Attempted to kill init 解决办法: 系统启动的时候,按下'e'键进入g ...
- arm linux not syncing,Linux系统启动中途停止,提示Kernel panic - not syncing: Attempted to kill init!...
严格按照教程上制作了ubifs文件系统.但启动到中途出现如下的错误信息.屏幕上只显示了一个企鹅.就停住了.终端上的信息如下. FAT: utf8 is not a recommended IO cha ...
- cenos 解决Kernel panic – not syncing: Attempted to kill init
服务器重启或者断电重启后无法开机 首先强制重启,然后按E键进入单用户模式进行修改 选择第二个,按E进 然后编辑,在后面输入 enforcing=0,通常情况下这种是可以,但是里面可以有多余的内容,这是 ...
- Kernel panic - not syncing: Attempted to kill init
问题:在 virtual box 上安装 CentOS,出现上述问题 原因:默认512M ,内存分配太小 方法:设置中扩充内存到2G
最新文章
- html5标签 H5标签
- Oracle RAC禁用DRM
- HNCU1101:马的移动---BFS
- Ubuntu软件的安装和使用
- C语言指针用得好犹如神助!这些使用技巧值得收藏
- 处于停机等非正常状态_一文聊透 Dubbo 优雅停机
- mysql不能做端点测试吗_端点测试的分步介绍
- linux ora-39002,impdp ORA-39002,ORA-39166,ORA-39164的问题及解决
- Java 面向对象编程的三大特性——封装、继承、多态
- NLP中的词向量总结与实战:从one-hot到bert
- Apache Solrj EmbeddedSolrServer使用
- Python爬虫5-API和爬虫
- 回撤率 python_【Python量化】O(n)复杂度实现最大回撤的计算
- java 修改表格颜色代码_workBook设置单元格颜色方法
- 漫话最短路径(二)--bellman-Ford(贝尔曼-福特)算法
- ios 支付宝:移动支付2
- STM32L0系列之【EEPROM读写】
- csapp之lab:shell lab
- Web-HTML+CSS入门笔记
- numpy 学习汇总18.2 - 数学运算( 基础学习 tcy)