Learning While Aging

[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.

0 0 vote
Article Rating
Subscribe
Notify of
guest
19 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Fayce
Fayce
1 year ago

tried your solution, still have the error…

Ted
Ted
1 year ago

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
Jaydon
1 year ago

Thank you. It worked like a charm.

Peter Raymond
Peter Raymond
1 year ago

NOT WORKING.

Snyltare
Snyltare
1 year ago

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
Rainer Bunger
1 year ago

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…

Shire
Shire
1 year ago

Worked like a Mexican roofer. Thanks!!

kim
kim
9 months ago

When partitioning, assigned to efi 200M or more

Chris
Chris
8 months ago

Hey! So after 3 failed attempts on my own creating partitions & not, with and without 3rd party… my fix seems to have been to simply disable UEFI in my BIOS. On my 4th install I then had no issues and have a single ext4 partition (that the installer created). Odd, but it works now. Maybe it is not the best way to run an OS?

greyhound
greyhound
8 months ago

what if youre tying to dualboot it with windows? i dont get it to work. Tried the simplest things multiple times but nothing seems to work and i cant either change the EFI partition? have been trying to solve this for 3 days now..

Steve White
Steve White
5 months ago

Didn’t work for me. Installed with “Install this third-party software” unchecked, got the same failure. This was on a ThinkPad with and AMD processor.

I suspect that something else is to blame, and maybe in some circumstances this setting wiggles it.

bamax
bamax
5 months ago
Reply to  Steve White

I have tried nearly all the suggestions given above and I have failed! I have tried with and without “Install this third-party software” and failed. I used “Something else” and created the 4 partitions mentioned somewhere above and still failed. I have disabled secure boot and still failed. I want an install that will dual boot with windows 10.

Austin
Austin
2 months ago

Life’s too short for Linux

Faceroller
Faceroller
14 days ago

Is it fixable without having to re-install?

19
0
Would love your thoughts, please comment.x
()
x
Close Bitnami banner
Bitnami