Kernel Panic after yum upgrade to kernel 3.10.0-957.1.3.el7.x86_64 ona Centos 7 VM:
– booted old kernel
– no initramfs-3.10.0-957.1.3.el7.x86_64.img in /boot
Solved by
– yum remove kernel-3.10.0-957.1.3.el7.x86_64
– verify uninstallation
rpm -qa | grep kernel | sort
– reinstall
yum install kernel-3.10.0-957.1.3.el7.x86_64
– verify again, check initramfs creation in /boot
rpm -qa | grep kernel | sort ls -la /boot/initram
reboot into new kernel
see also: https://ma.ttias.be/reinstall-the-linux-kernel-on-centos-or-rhel/
1+