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.
4 thoughts on - Update To CentOS7.4: Failed To Open \EFI\BOOT\grubx64.efi – Not Found
—–Original Message—
—– Oorspronkelijk bericht —
Hi Johan appart from the above copy of the boot file, would you probably need something like this:
efibootmgr -b xxxx -l EFI/BOOT/grubx64.efi
i.e. tell BOOTxxxx to use the intended boot file.
xxxx may be found out via
efibootmgr -v BootCurrent: 0000
Timeout: 0 seconds No BootOrder is set; firmware will attempt recovery Boot0000* Notebook Hard Drive BBS(HD,,0x0)…………………………………………………………….. Boot0001* Notebook Ethernet BBS(128,,0×0)……………………E………………………………………. Boot0002* CentOS
HD(1,GPT,068e45cc-b2b6-4688-9974-ad7d27e419f8,0x800,0x7a000)/File(EFICentOSgrubx64.efi)
xxxx by default is 0000
suomi
You’re putting the loader at \EFI\CentOS\shim.efi and its looking for \EFI\BOOT\grubx64.efi
Either change your –loader flag or cp the grubx64.efi to the BOOT folder.