Linux – CentOS: After Kernel Update system does not boot (/dev/md2 does not exist)
centosdracutlinuxlinux-kernel
after doing a kernel-update (only via yum update) my centOS 7 (64bit) does no longer boot.
I now booted into rescue-mode and tried to mount /dev/md2 – this worked fine:
Any ideas what I could do here?
Best Answer
Do as it suggests and make a copy of the rdsosreport.txt to /boot.
You could try booting the previous kernel
- Reset the system, you should get an opportunity to select which kernel to boot, select an earlier one and see what happens.
I am going to add my previous comment as an answer here as this has gone to bounty. Apologies for the blatant attempt to score reputation points.
I had this exact same problem and resolved it by changing the setting of
CONFIG_SYSFS_DEPRECATED_V2=Y
in the .config file.
as mentioned in this question by godpapa.
Just search for CONFIG_SYSFS_DEPRECATED_V2 and change it to Y and rebuild the RPMs.
Then install the RPM.
I can confirm this does fix the problem on CentOS 5.4 when building a 2.6.33 kernel using the "The CentOS way". I would be surprised if it didn't work for 2.6.31.12 on CentOS 5.3 too.
Best Answer
Do as it suggests and make a copy of the rdsosreport.txt to /boot.
You could try booting the previous kernel - Reset the system, you should get an opportunity to select which kernel to boot, select an earlier one and see what happens.