Yum Update Wiped /boot/efi/EFI directory!

General support questions
Post Reply
dtx1
Posts: 16
Joined: 2021/04/27 04:17:20

Yum Update Wiped /boot/efi/EFI directory!

Post by dtx1 » 2023/08/26 20:49:02

During a recent yum update (not upgrade), the /boot/efi/EFI/centos and BOOT was removed. Yes, I can reproduce this error.

In order to fix -- I could not boot into the kernel ==>

I used the rescue usb to yum re-install the kernels. And then restored BOOT and centos via a backup.

Then did

Code: Select all

grub2-mkconfig to update grub.cfg


— placed it in both /boot/grub2 and /boot/efi/EFI/centos. (The boot menu is read from grub2.cfg in the EFI since my machine is EFI.)

Anyway, what's up with the yum updates these days -- very unstable in my opinion.

Post Reply