I restarted the computer by force but Ubuntu is not start any more, it just go to grub like bash screen.
I did the following steps to solve the problem:
- Boot by Ubuntu live usb in "efi mode".
- Install boot-repair tool.
- By boot-repair (from advanced options) I reinstalled grub on an efi partition (if not exist, create one by gparted tool).
- Reboot the computer to login on installed Ubuntu.
- Then from Ubuntu advanced options, I selected one of the versions, then Press "ctrl + Alt + f1"
- Console will be opened, make sure that there is Internet connected.
- login in it, and type this command: sudo dpkg --configure -a
- It will take some time to repair the instance. (take a coffee break until it finish :) )
- Then reboot and enjoy.