Accidently deleted boot option on Dell laptop
I have a Dell laptop in which I have dual booted Ubuntu with Windows 10. Usually the laptop loads the Grub menu first.
Recently I had some problems with Windows Bitlocker: every time I open Windows I am prompted to enter the Bitlocker password. In trying to solve this, I accidentaly clicked Ubuntu in the "Delete Boot" option in the boot sequence. Now the laptop boots directly to Windows without first loading the Grub menu.
Luckily, when I restarted the system and clicked "add boot option" I found the efi folder in which the Ubuntu folder is present. In Ubuntu there is fwgrupx64.efi
, grubx64.efi
, grub.cfg
, shimx64.efi
, mmx64.efi
, and BOOTX64.CSV
. On clicking grubx64.efi
it shows "Boot name not found".
How can I recover the Grub boot menu?
No need to panic. Here is the workaround to get GRUB back.
Go to BIOS settings by pressing F12 when system boots up and Dell logo appears.
-
Go to General→Boot Sequence. It must look like this
-
Click on Add Boot option. You will get three fields: Boot Option Name, File System List and File Name
-
In Boot Option Name, type Ubuntu, Don't touch File System List option and in File Name select the file grubx64.efi which must be in /EFI/Ubuntu/ and then Click on 'OK'.
Note: Don't leave Boot Option Name empty. This will cause Boot name not found error.
-
This newly created boot option will appear in the end. Select that option with the mouse click and use Arrows beside the list to bring it on top to change boot order.
Click on Apply then Exit
You must be welcomed by a familiar GRUB.
These photos were clicked by mobile phone and I tried my best to get possibly best photos.