One of our client was facing issue with OVH kernel. After rebooting the server it’s not coming up with normal kernel.

I have checked the server using IPMI console and found below error message.

A start job is running for dev-md2.device

First bring the server online with any of the working kernel.

Once the server is online then check how many kernel’s are present on the server. You can use below command to find out the kernel.

awk -F\’ ‘$1==”menuentry ” {print i++ ” = “$2}’ /etc/grub2.cfg

It will show list of kernels present on the server. In my case client server is RAID1. You can find the software raid version using below command.

cat /proc/mdstats

Then try compiling the kernel with raid1 module.

dracut –mdadmconf –fstab –add=”mdraid” –add-drivers=”raid1″ -f /boot/initramfs-3.10.0-957.5.1.el7.x86_64.img 3.10.0-957.5.1.el7.x86_64

One done then make the changes in grub configuration and reboot the server.