Comment 4 for bug 1069178

I did:

mustafa@mustafa-Lenovo-B570e:~$ sudo apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 208 not upgraded.
Need to get 1,140 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 quantal/main grub-efi amd64 2.00-7ubuntu11 [1,140 B]
Fetched 1,140 B in 1s (943 B/s)
(Reading database ... 141805 files and directories currently installed.)
Preparing to replace grub-efi 2.00-7ubuntu11 (using .../grub-efi_2.00-7ubuntu11_amd64.deb) ...
Unpacking replacement grub-efi ...
Setting up grub-efi (2.00-7ubuntu11) ...
mustafa@mustafa-Lenovo-B570e:~$ sudo grub-install /dev/sda
source_dir doesn't exist. Please specify --target or --directory

When I installed Ubuntu, I chose /dev/sda7 to install the bootloader, when I try to chainload it from my grub, it doesn't work (grub1 says "Error 13: Invalid or unsupported executable format" and grub2 says "Invalid signature), I updated openSUSE grub to include Ubuntu (not chainloading), and now using Ubuntu I can't do "grub-install /dev/sda".