[Fix] ‘grub-efi-amd64-signed’ package failed to install into /target/

[UPDATE 07-18-2018] It seems that some people still get the same error message after unchecking “Install the third party software” option. If that is the case for you, you can try the following:

1. Reboot your computer with Live USB and start Ubuntu (or Linux Mint) installation again

2. At the “Installation type” step, choose “Something else”

3. Delete all partitions (since you already have trouble installing Ubuntu, I don’t think you need to worry about losing data)

4. Manually create partitions. You will need at least three partitions as follows:

  • Main partition for Ubuntu: ext4 type with mount point “/”
  • Swap partition: swap type with partition size equaling to the size of your physical RAM. If you computer has 16GB RAM, then your swap partition needs to be at least 16GB.
  • EFI partition with size about 200MB – 500MB. I use 500MB for my computer

5. Continue the installation. Remember you still need to disable third-party software installation.

If you still get the same error message, then you will need to boot into your BIOS and turn off “Secure Boot”, then follow the above steps to try again.

Let me know if this helped you.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

No matter if you try to install the latest Ubuntu 18.04 LTS, or Linux Mint 19 (based on Ubuntu 18.04 LTS), you may encounter the following error:
GRUB Installation Failed. The ‘grub-efi-amd64-signed’ package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.

This error is not new and it happens in computers that support UEFI mode, so many people usually recommend to enable the Legacy Support in your BIOS settings to solve this problem. However, based on my experience of dozes of trial-and-errors, I found a simple fix for this error and would like to share with you.

Based on my experiment, I think the culprit of the error is when you allow the installer to install third-party software during the installation, although I don’t know why it causes the error.

So the obvious fix is to leave “Install this third-party software” unchecked when installing Ubuntu, or leave “Install third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other media” unchecked when installing Linux Mint, and you don’t need to enable the Legacy Support in your BIOS settings.

There you have it and I hope it helped you. If it did, please let me know in the comments.

9
Leave a Reply

avatar
6 Comment threads
3 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
7 Comment authors
Rainer BungerNTOTLSnyltarePeter RaymondJaydon Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Fayce
Guest
Fayce

tried your solution, still have the error…

Ted
Guest
Ted

I did as you suggested and left the “Install this third-party software” unchecked and, hey-presto, I had no problems installing Ubuntu 18.04. I recently opted for a fresh install and I kept getting the ‘grub-efi-amd64-signed’ message every time. I was using a Flash Drive and downloaded 18.04 twice, one on each stick and I still kept getting the grub message. I also checked the integrity of the download and got the no errors message. I never had the problem when Ubuntu 18.04 was released back in April, though. And I’ve never had this problem with Mint 19. Anyway, thanks for… Read more »

Jaydon
Guest
Jaydon

Thank you. It worked like a charm.

Peter Raymond
Guest
Peter Raymond

NOT WORKING.

Snyltare
Guest
Snyltare

It worked for you just because of you got lucky. It has nothing to the with third-part disabling. This is a bug on ubuntu and many people has the same problem.

I have tried various of options with disabling the third-party, creating first the EFI partition or disabling the Legacy mode at bios completely and still have the same problem…

I will try to create a /boot/efi directory to mount the efi partition there manually and see how it goes.

Rainer Bunger
Guest
Rainer Bunger

i also have that problem, with or without the third party setting…

i was able to install
* Ubuntu 16.04
* Fedora
* Manjaro
but not Ubuntu 18.04 and also not 18.04.1. Quite sure that this must be a bug…