[CentOS] Kernel updates do not boot - always boots oldest kernel

Tue Mar 14 16:05:01 UTC 2023
Leon Fauster <leonfauster at googlemail.com>

Am 14.03.23 um 12:30 schrieb Rob Kampen:
> OK,
> 
> found out the problem as to why it doesn't boot any kernel except 36.2
> 
> the system reports that it cannot find
> 
> vmlinuz-3.10.0-1160.88.1.el7.x86_64
> 
> or any one of the others, except for vmlinuz-3.10.0-1160.36.2.el7.x86_64
> 
> hence a manual selection from the grub menu when in front of the machine 
> will only load the 36.2 kernel
> 
> I found that under /boot/grub2 there were two .rpmnew files that mucked 
> up the symbolic link to the grubenv file - so fixed that and did a 
> reinstall of the latest kernel.
> 
> Now all the grub and efi files appear to update correctly - progress.
> 
> Now just need to work out why the efi boot process can see the old 
> (original) kernel (36.2) but none of the later ones.
> 
> Any ideas of where to look for this? seems a much more fundamental 
> problem related to kernel install and efi booting


Whats the _complete_ output of cat /etc/default/grub  ?

--
Leon