Failed to open \EFI\BOOT\grubx64.efi - Not Found

I dual-boot Ubuntu with Windows on my system and after running a Windows update, I suddenly lost my grub menu to be able to boot back into my linux system.

Here is the error that I was receiving.

Failed to open \EFI\BOOT\grubx64.efi - Not Found  
Failed to load image \EFI\BOOT\grubx64.efi: Not Found    
start_image() returned Not Found 

My Ubuntu version:

❯ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.3 LTS"

I wanted to create a post to write about how I fixed the issue for future reference.

On the Windows side

  • Get a copy of the latest ubuntu iso
  • Make the bootable usb
    • I opted to use BalenaEtcher on windows as it has a very simple interface.

I was running into some issues with reformatting my USB on Windows and had to use diskpart to clean it.

C:\Windows\System32> diskpart

Microsoft DiskPart version 10.0.22621.1

Copyright (C) Microsoft Corporation.
On computer: CHEDDAR

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          476 GB      0 B        *
  Disk 1    Online           14 GB  1024 KB        *

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     C   Windows      NTFS   Partition    261 GB  Healthy    Boot
  Volume 1         SYSTEM       FAT32  Partition    260 MB  Healthy    System
  Volume 2         WinRE_DRV    NTFS   Partition   1000 MB  Healthy    Hidden
  Volume 3     D                       Removable   4799 MB  Unusable

DISKPART> select volume 3

DISKPART> clean

DISKPART> convert gpt

DISKPART> create partition primary

DISKPART> exit

After that, I turned off Secure Boot in my BIOS and booted into the Ubuntu live usb.

On the Ubuntu live usb side

  • Select the Try Ubuntu option
  • Launch terminal and add the boot-repair ppa from YannUbuntu
    • sudo add-apt-repository ppa:yannubuntu/boot-repair
    • sudo apt update
    • sudo apt install boot-repair && boot-repair

This will run boot-repair and you can choose the recommended fix option to restall grub.