Kernel Panic Error

Recently, I came across the situation where my CentOS server was not booting and displaying Kernel panic error. I have followed the steps mentioned below to make the server online:

I spawned the init as bash. This can be done by giving the following boot parameter.
 
Init=/bin/bash
 
Once we have the bash prompt we can remount the root partition in read write mode.
 
Mount –o remount,rw /
 
Then change the password:
 
Password root
 
Once the password is changed reboot the system. It will ask for the fsck and maintenance password. Enter newly changed maintenance password.

Comments