You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: Instance Fails to Boot Latest Linux Kernel

edited Oct 24, 2023 1:40PM in Linux 4 comments

Applies To

Oracle Cloud Infrastructure

Linux x86-64


Symptoms 

  • The instance fails to boot into the latest kernel after installing the latest RHCK kernel

The latest kernel is installed:

$ rpm -qa | grep kernel
kernel-4.18.0-477.13.1.el8_8.x86_64
kernel- 4.18.0-477.10.1.el8_8.x86_64
  • The /etc/sysconfig/kernel indicates that the RHCK kernel should be booted:
$ cat /etc/sysconfig/kernel
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes
# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel-core
  • The grubenv "saved_entry" shows that the previous kernel will be booted:
$ cat /boot/efi/EFI/redhat/grubenv
# GRUB Environment Block
kernelopts=root=UUID=42d94e70-3c86-49e0-987e-695255b66dec ro crashkernel=a
menu_auto_hide=1
boot_success=1
boot_indeterminate=0
saved_entry=2696196d9df74ce0b617bbe1d159c776-4.18.0-477.10.1.el8_8.x86_64

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!