I've decided to reinstall Ubuntu system. Ubuntu has been installed properly (I guess), but installation of grub failed. I have tried to run boot-repair, and it said that i should paste the following commands:
sudo chroot "/mnt/boot-sav/sda6" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda6" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda6" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
Unfortunately, the output of first command was
Setting up shim-signed (1.21.3+0.9+1465500757.14a5905.is.0.8-0ubuntu3) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up grub-efi-amd64-signed (1.74+2.02~beta2-36ubuntu11) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
shim-signed
grub-efi-amd64-signed
As far as I understand the problem is with UEFI, however I do not know how to fix this so that grub will run again.