Ubuntu – Ubuntu Install Toshiba Laptop Fail

bootlaptoptoshiba

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.

Best Answer

  1. I first mounted sda1, the EFI partition. You can check yours with

    sudo fdisk -l
    

    and mount it with

    sudo mount /dev/sda1 /mnt
    
  2. Within this mounted sda partition, I copied grubx64.efi and shimx64.efi from /EFI/ubuntu to /EFI/Boot.