Yesterday, I've updated a server running CentOS 7.5 to Centos 7.6. I saw there were two .rpmsave related to Grub and SELinux. After the update, the server wasn't rebooting anymore. I thought it could be a Grub error. So I tried a netboot using the custom kernel from my server provider. The server started correctly. I looked at the logs (/var/log/messages, /var/log/dsmeg, /var/log/boot) but I couldn't find anything related to the failed boot intent. On the other hand, there was an error in grubby log :
Code: Select all
4908: Mon Dec 10 13:46:11 2018: command line: --grub2 -c /boot/grub2/grub.cfg --add-kernel=/boot/vmlinuz-3.10.0-957.1.3.el7.x86_64 --copy-default --title CentOS Linux (3.10.0-957.1.3.el7.x86_64) 7 (Core) --args=root=/dev/md2 --remove-kernel=TI$
DBG: Image entry failed: uuid missing: rootdev (null), dev 23884405-b432-42a1-a47a-f34fe0a13cc6
DBG: menuentry 'CentOS Linux (3.10.0-862.14.4.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-862.14.4.el7.x86_64-advanced-23884405-b432-42a1-a47a-f34fe0a13cc6' {
DBG: load_video
DBG: set gfxpayload=keep
DBG: insmod gzio
DBG: insmod part_gpt
DBG: insmod part_gpt
DBG: insmod diskfilter
DBG: insmod mdraid09
DBG: insmod ext2
DBG: set root='mduuid/444484e5032bfce9a4d2adc226fd5302'
DBG: if [ x$feature_platform_search_hint = xy ]; then
DBG: search --no-floppy --fs-uuid --set=root --hint='mduuid/444484e5032bfce9a4d2adc226fd5302' 23884405-b432-42a1-a47a-f34fe0a13cc6
DBG: else
DBG: search --no-floppy --fs-uuid --set=root 23884405-b432-42a1-a47a-f34fe0a13cc6
DBG: fi
DBG: linuxefi /boot/vmlinuz-3.10.0-862.14.4.el7.x86_64 root=/dev/md2 ro crashkernel=auto rhgb quiet rd.md.uuid=444484e5:032bfce9:a4d2adc2:26fd5302 rootdelay=10 rootdelay=10 noquiet nosplash net.ifnames=0 biosdevname=0
DBG: initrdefi /boot/initramfs-3.10.0-862.14.4.el7.x86_64.img
DBG: }
I had another identical server to update (same hardware, same configuration). I excluded grub2* from the update and rebooted this server without any issue. I compared the 2 grub.conf from these two servers and checked in the /boot folder if there was not an initramfs missing for the new kernel. But I couldn't see anything weird.
What log files could be helpful to try solving this issue ?
EDIT : I also tried rebooting after restoring the grub.cfg.rpmsave and it didn't work. Then, I restored again the new grub.cfg but this time editing out the menu entry corresponding to the new kernel. It didn't work either. Finally, I disabled SELinux and rebooted again but without success.
EDIT 2 : I got an email from the support team that says : "The server stays frozen on startup with this message "grub rescue >"
Thanks