I can't get RHEL8 to use latest kernel

Latest response

I'm running RHEL 8.5 on an EC2 instance in AWS and I can't get it to run on the latest kernel.

[ec2-user@ip-10-10-2-220 ~]$ rpm -qa | grep ^kernel
kernel-modules-4.18.0-348.20.1.el8_5.x86_64
kernel-core-4.18.0-305.el8.x86_64
kernel-4.18.0-348.20.1.el8_5.x86_64
kernel-tools-libs-4.18.0-348.20.1.el8_5.x86_64
kernel-4.18.0-305.el8.x86_64
kernel-tools-4.18.0-348.20.1.el8_5.x86_64
kernel-modules-4.18.0-305.el8.x86_64
kernel-core-4.18.0-348.20.1.el8_5.x86_64
[ec2-user@ip-10-10-2-220 ~]$ uname -r
4.18.0-305.el8.x86_64
[ec2-user@ip-10-10-2-220 ~]$ df -h
Filesystem                         Size  Used Avail Use% Mounted on
devtmpfs                            32G     0   32G   0% /dev
tmpfs                               32G     0   32G   0% /dev/shm
tmpfs                               32G   17M   32G   1% /run
tmpfs                               32G     0   32G   0% /sys/fs/cgroup
/dev/nvme0n1p2                     128G  4.4G  124G   4% /
/dev/nvme1n1p1                     495M  413M   83M  84% /boot
/dev/mapper/newdirs-home           5.0G  128M  4.9G   3% /home
/dev/mapper/newdirs-tmp            2.0G   58M  2.0G   3% /tmp
/dev/mapper/newdirs-var            2.0G  756M  1.3G  38% /var
/dev/mapper/newdirs-var_tmp        2.0G   47M  2.0G   3% /var/tmp
/dev/mapper/newdirs-var_log        2.0G  1.9G  120M  95% /var/log
/dev/mapper/newdirs-var_log_audit  2.0G  2.0G   51M  98% /var/log/audit
tmpfs                              6.3G     0  6.3G   0% /run/user/1000
[ec2-user@ip-10-10-2-220 ~]$ ls /boot
config-4.18.0-305.el8.x86_64                             initramfs-4.18.0-305.el8.x86_64.img                   System.map-4.18.0-305.el8.x86_64
config-4.18.0-348.20.1.el8_5.x86_64                      initramfs-4.18.0-305.el8.x86_64.img.06-12-004514.bak  System.map-4.18.0-348.20.1.el8_5.x86_64
efi                                                      initramfs-4.18.0-305.el8.x86_64kdump.img              vmlinuz-0-rescue-bd6cf7372f924f33ab49bd9e121a3895
grub2                                                    initramfs-4.18.0-348.20.1.el8_5.x86_64.img            vmlinuz-0-rescue-cc248e8c4ee74660b67b51ef99a7837a
initramfs-0-rescue-bd6cf7372f924f33ab49bd9e121a3895.img  loader                                                vmlinuz-4.18.0-305.el8.x86_64
initramfs-0-rescue-cc248e8c4ee74660b67b51ef99a7837a.img  symvers-4.18.0-348.20.1.el8_5.x86_64.gz               vmlinuz-4.18.0-348.20.1.el8_5.x86_64

I have tried reinstalling and rebooting with no success. I followed the solution here here with no errors, but still no new kernel after a reboot.

Responses