Failed to open \EFI\UBUNTU\*garbled* - Invalid parameter
Solution 1:
I've investigated how to repair the grub boot. Finally, I found the solution with the following commands:
-
sudo add-apt-repository -y ppa:yannubuntu/boot-repair
-
sudo apt install -y boot-repair
-
boot-repair
But, when I subsequently boot into Windows, and then I restart to login to Ubuntu, the same problem occurs.
I have BIOS version:
- Windows 10 Pro Version 1909
- Ubuntu 20.04.20 LTS
Solution 2:
What worked for me was to name the FAT32 partition and then from windows terminal locate the ubuntu folder and just adding grubx64.efi.gbr
Naming your FAT32 partition (If you have already done this then ignore this part) :
Open Windows terminal as admin
-
Chose Diskpart :
C:\WINDOWS\system32> diskpart
-
Find out the Disk number of your FAT32 partition
DISKPART> list vol `
-
Select Volume (Here 2 is an example volume number)
DISKPART> sel vol 2 `
-
Naming the volume :
DISKPART> assign letter=E: `
-
Exit Diskpart :
DISKPART> exit `
Fixing the Grub :
-
First
C:\WINDOWS\system32> cd /d E:
-
Then
E:\> ls EFI
-
Next
E:\>cd EFI
-
Next
E:\EFI>cd ubuntu
-
Next
E:\EFI\ubuntu> touch grubx64.efi.gbr
-
Now revert back to C Drive and set path to grub as default :
E:\EFI\ubuntu> cd /d C: C:\WINDOWS\system32> bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
-
Reboot Your Computer and it should work.