OCI: Instance Fails to Boot Latest Linux Kernel
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
Tagged:
0