Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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/modinfo.sh 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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.