Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After boot-repair failed to install (both with secure boot disabled and enabled), I decided to try running grub-install manually using the following command.

sudo grub-install --root-directory=/mnt/root/ --efi-directory=/boot --uefi-secure-boot /dev/sda7

Where /dev/sda7 is the root for the Ubuntu install. however, this prints Installing for i386-pc platform., and I'm on a 64 bit machine. It fails, saying:

grub-install: warning: File system `ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged.
grub install: error: will not proceed with blocklists.

I tried adding --target=x86_64-efi, but that prompted grub-install: error: /usr/lib/grub/x86_64-efi/ doesn't exist. Please specify --target or --directory.

An ls showed that, indeed, this file didn't exist.

ubuntu@ubuntu:/$ ls /usr/lib/grub
grub-mkconfig_lib  i386-pc

I don't really know what to do now. I'm currently running Ubuntu 14.04 on a live USB. The machine is a Toshiba Sattellite P55t with an i5.

share|improve this question
can I retract this quiestion? I just reinstalled. – Kenkron Sep 8 '14 at 13:47

You have to install the package grub-efi-amd64-bin on your running live-system. You can do this by using the following command:

sudo apt-get install grub-efi-amd64-bin

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.