[CentOS] update to Centos7.4: Failed to open \EFI\BOOT\grubx64.efi - Not Found

Tue Jan 9 15:56:57 UTC 2018
Adrian Jenzer <a.jenzer at herzogdemeuron.com>


-----Original Message-----
From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of johan.vermeulen7 at telenet.be
Sent: Dienstag, 9. Januar 2018 16:34
To: CentOS mailing list
Subject: [CentOS] update to Centos7.4: Failed to open \EFI\BOOT\grubx64.efi - Not Found

Hello All, 

updating from Centos7.3 to Centos7.4 rendered one of our laptops unbootable. 
EM: 
Failed to open \EFI\BOOT\grubx64.efi - Not Found 
Failed to load image \EFI\BOOT\grubx64.efi: Not Found 
start_image() returned Not Found 

How could this occur because of an update and how to fix this? 

What I tried is booting from centos usb, chroot to /mnt/sysimage and gave command: 
efibootmgr --create --label CentOS --disk /dev/sda1 --loader "\EFI\centos\shim.efi" 

This gave no EM, but booting remains impossible. 

I have to say I don't know whether to try grub2 of efibootmgr commands. 

Any help would be very much appreciated. 

Greetings, J. 
_______________________________________________
CentOS mailing list
CentOS at centos.org
https://lists.centos.org/mailman/listinfo/centos



Hi Johan

I remember I had a similar issue and I resolved it by copying grubx64.efi from /centos :
cp /boot/efi/EFI/centos/grubx64.efi /boot/efi/EFI/BOOT


regards
Adrian