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

2023-03-15 Thread Gianluca Cecchi
> > > > I have only changed GRUB_DEFAULT from "saved" to "0" > > > > I have also run > > > > /usr/sbin/grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg > > I may be wrong here but IIRC, using grub2-mkconfig as described in the > Grub docs didn't work for me when I tried to use it years ago. > > I th

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

2023-03-14 Thread Simon Matter
> Here is the contents of the entire > > cat /etc/default.grub > > GRUB_TIMEOUT=5 > GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" > GRUB_DEFAULT=0 > GRUB_DISABLE_SUBMENU=true > GRUB_TERMINAL_OUTPUT="console" > GRUB_CMDLINE_LINUX="crashkernel=auto > rd.md.uuid=066ffecb:69137a0b:4

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

2023-03-14 Thread Rob Kampen
Here is the contents of the entire cat /etc/default.grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=0 GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto rd.md.uuid=066ffecb:69137a0b:4e579b4f:dfbf1696

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

2023-03-14 Thread Leon Fauster via CentOS
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 fro

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

2023-03-14 Thread Fred
I had something like this happen some years ago on a workstation with 2-disk (software/Linux) RAID 1. Turns out one of the disks had been ejected from the raid array. It was that ejected disk that was getting the updates, but since it was no longer in the array it wasn't being booted, but rather th

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

2023-03-14 Thread 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 machi

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

2023-03-14 Thread Petko Alov
Change it to GRUB_DEFAULT=0 (I encountered the same issue week ago with a workstation booted for three month with an older kernel because of https://bugzilla.redhat.com/show_bug.cgi?id=2143438 , and solved it this way) Regards, Petko On 3/14/23 10:51, Rob Kampen wrote: Can I edit /etc/de

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

2023-03-14 Thread Rob Kampen
This issue has been around for some months, but other things keep crowding out a fix. uname give me 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 yet I have 3.10.0-1160.76.1.el7.x86_64 3.10.0-1160.81.1.el7.x86_64 3.10.0-1160.83.1.el7.x86_64 3.10.0-1160.88.1.el7.x86_64 loade