Oracle Linux 9.2 manually updating kernel
by etcetera from LinuxQuestions.org on (#6CB9J)
I was booting the latest-greatest 5.15.0-102.110.5 but for an unknown reason and without any cause, X-Windows stopped starting correctly, as if did not see any video card or drivers. I have X-windows but the font is huge and it does not see external monitors. Looks like a driver issue.
So I had to roll back to 5.15.0-101.103., set that as my default kernel. X-windows (gnome 40) correctly starts there. Everything works.
How, from 101.103 do I upgrade to a newer kernel version? dnf update does not do anything. Am I stuck on 101.103 forever?
# grubby --default-kernel
/boot/vmlinuz-5.15.0-101.103.2.1.el9uek.x86_64
# grubby --info=ALL | grep title
title="Oracle Linux Server (5.15.0-102.110.5.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-102.110.5.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-101.103.2.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.14.0-284.11.1.el9_2.x86_64) 9.2"
title="Oracle Linux Server (5.14.0-162.23.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (5.14.0-162.6.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (0-rescue-0499eea7446d45589d2c21a700291cf4 with Unbreakable Enterprise Kernel) 9.0"
# yum update
Last metadata expiration check: 2:08:48 ago on Tue 20 Jun 2023 11:35:38 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
So I had to roll back to 5.15.0-101.103., set that as my default kernel. X-windows (gnome 40) correctly starts there. Everything works.
How, from 101.103 do I upgrade to a newer kernel version? dnf update does not do anything. Am I stuck on 101.103 forever?
# grubby --default-kernel
/boot/vmlinuz-5.15.0-101.103.2.1.el9uek.x86_64
# grubby --info=ALL | grep title
title="Oracle Linux Server (5.15.0-102.110.5.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-102.110.5.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-101.103.2.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.14.0-284.11.1.el9_2.x86_64) 9.2"
title="Oracle Linux Server (5.14.0-162.23.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (5.14.0-162.6.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (0-rescue-0499eea7446d45589d2c21a700291cf4 with Unbreakable Enterprise Kernel) 9.0"
# yum update
Last metadata expiration check: 2:08:48 ago on Tue 20 Jun 2023 11:35:38 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!