I installed ubuntu 16.04 x64 on my Toshiba laptop via Bootable USB. I am booting with UEFI. Previously, only windows was installed on the laptop. I first chose 'delete disk and install ubuntu' option and when I restart, it wouldn't boot, instead I get the following error
Failed to open \EFI\BOOT\grubx64.efi - not found
and then
Reboot and Select proper Boot device or Insert Boot Media in selected Boot device
And then I tried the second answer in this link How to install Ubuntu and boot on Toshiba Satellite?. Still got the same error.
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
returns
UEFI
I tried methods in this answer Clean Install of Ubuntu and this section Boot-Info. After I run the Boot-Info, the pastebin link I get is: 26107941
Any help is appreciated.
SOLUTION is in my answer.