Ffter removing 503 (bad) kernel:
grubby --info=ALL
index=0
kernel=“/boot/vmlinuz-5.14.0-427.37.1.el9_4.x86_64”
args=“ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet $tuned_params”
root=“/dev/mapper/cl-root”
initrd=“/boot/initramfs-5.14.0-427.37.1.el9_4.x86_64.img $tuned_initrd”
title=“Rocky Linux (5.14.0-427.37.1.el9_4.x86_64) 9.4 (Blue Onyx)”
id=“4a3876baf4f14bcebefd80a1cda9197f-5.14.0-427.37.1.el9_4.x86_64”
index=1
kernel=“/boot/vmlinuz-5.14.0-427.20.1.el9_4.x86_64”
args=“ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet $tuned_params”
root=“/dev/mapper/cl-root”
initrd=“/boot/initramfs-5.14.0-427.20.1.el9_4.x86_64.img $tuned_initrd”
title=“Rocky Linux (5.14.0-427.20.1.el9_4.x86_64) 9.4 (Blue Onyx)”
id=“4a3876baf4f14bcebefd80a1cda9197f-5.14.0-427.20.1.el9_4.x86_64”
index=2
kernel=“/boot/vmlinuz-0-rescue-4a3876baf4f14bcebefd80a1cda9197f”
args=“ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet”
root=“/dev/mapper/cl-root”
initrd=“/boot/initramfs-0-rescue-4a3876baf4f14bcebefd80a1cda9197f.img”
title=“Rocky Linux (0-rescue-4a3876baf4f14bcebefd80a1cda9197f) 9.3 (Blue Onyx)”
id=“4a3876baf4f14bcebefd80a1cda9197f-0-rescue”
lsblk -o name,fstype,uuid,mountpoint:
NAME FSTYPE UUID MOUNTPOINT
sda linux_raid_member a4a8a4d4-9a6f-bea3-d723-26db50f64dc1
└─md127 LVM2_member HsyG0X-cvYP-ztJS-gSbm-mTUe-4qId-bKchcq
├─store-backup xfs 739429c4-7409-49fb-bef9-9ea0afdf4b32 /backup
└─store-virt_images xfs b14df60f-69eb-4a24-8a1b-2428254dc443 /var/lib/libvirt/images
sdb linux_raid_member a4a8a4d4-9a6f-bea3-d723-26db50f64dc1
└─md127 LVM2_member HsyG0X-cvYP-ztJS-gSbm-mTUe-4qId-bKchcq
├─store-backup xfs 739429c4-7409-49fb-bef9-9ea0afdf4b32 /backup
└─store-virt_images xfs b14df60f-69eb-4a24-8a1b-2428254dc443 /var/lib/libvirt/images
sdc linux_raid_member a4a8a4d4-9a6f-bea3-d723-26db50f64dc1
└─md127 LVM2_member HsyG0X-cvYP-ztJS-gSbm-mTUe-4qId-bKchcq
├─store-backup xfs 739429c4-7409-49fb-bef9-9ea0afdf4b32 /backup
└─store-virt_images xfs b14df60f-69eb-4a24-8a1b-2428254dc443 /var/lib/libvirt/images
sdd linux_raid_member a4a8a4d4-9a6f-bea3-d723-26db50f64dc1
└─md127 LVM2_member HsyG0X-cvYP-ztJS-gSbm-mTUe-4qId-bKchcq
├─store-backup xfs 739429c4-7409-49fb-bef9-9ea0afdf4b32 /backup
└─store-virt_images xfs b14df60f-69eb-4a24-8a1b-2428254dc443 /var/lib/libvirt/images
nvme0n1
├─nvme0n1p1 vfat 31EB-D37E /boot/efi
├─nvme0n1p2 ext4 82c2eef3-5fdd-453d-ab95-dce74c9ea2f4 /boot
└─nvme0n1p3 LVM2_member 5jCBd9-U14w-mg2R-opiF-nP8T-Iozw-dKpt6b
├─cl-root xfs 98f87ea1-ae61-45b9-acb3-4550aac94473 /
├─cl-swap swap f9acb95f-40dd-4ab7-990d-33bd9795da7f [SWAP]
├─cl-home xfs 201060b7-de95-4903-9d2b-25077f2ac9a6 /home
└─cl-var xfs 139f6e5c-5dd2-4804-a908-5ebc1e1d7264 /var
less /etc/fstab
/dev/mapper/cl-root / xfs defaults 0 0
/dev/mapper/store-backup /backup xfs defaults 0 0
UUID=82c2eef3-5fdd-453d-ab95-dce74c9ea2f4 /boot ext4 defaults 1 2
UUID=31EB-D37E /boot/efi vfat umask=0077,shortname=winnt 0 2
/dev/mapper/cl-home /home xfs defaults 0 0
/dev/mapper/cl-var /var xfs defaults 0 0
/dev/mapper/store-virt_images /var/lib/libvirt/images xfs defaults 0 0
/dev/mapper/cl-swap none swap defaults 0 0
kinfo from vnc connection
Operating System: Rocky Linux 9.5
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.9
Kernel Version: 5.14.0-427.37.1.el9_4.x86_64 (64-bit)
Graphics Platform: offscreen
Processors: 32 × AMD EPYC 7302P 16-Core Processor
Memory: 125.2 GiB of RAM
Graphics Processor: llvmpipe
pvscan
PV /dev/md127 VG store lvm2 [<1.82 TiB / 0 free]
PV /dev/nvme0n1p3 VG cl lvm2 [929.92 GiB / 651.29 GiB free]
Total: 2 [<2.73 TiB] / in use: 2 [<2.73 TiB] / in no VG: 0 [0 ]
lvscan
ACTIVE ‘/dev/store/backup’ [1.33 TiB] inherit
ACTIVE ‘/dev/store/virt_images’ [500.00 GiB] inherit
ACTIVE ‘/dev/cl/root’ [40.00 GiB] inherit
ACTIVE ‘/dev/cl/home’ [20.00 GiB] inherit
ACTIVE ‘/dev/cl/var’ [200.00 GiB] inherit
ACTIVE ‘/dev/cl/swap’ [<18.63 GiB] inherit
--------------------
I seem to remember when I did the pvscan from the maint shell when the boot faild on kernel 503, that the second line didn’t exist. However the lvscan listed both the swap and root volumes, but not the var and home volumes.
I used the command “dnf update” from an SSH remote shell to update to Rocky 9.5. The update completed without errors, just as it had on the four VMs that machine hosts.
cat /proc/cmdline
BOOT_IMAGE=(hd4,gpt2)/vmlinuz-5.14.0-427.37.1.el9_4.x86_64 root=/dev/mapper/cl-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet
Unfortunately I didn’t know to record the kernel command before removing the 503 kernel and rebooting.