did you see this at the bottom of the Pastebin file:
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/grubx64.efi file