"The 'grub-efi-amd64-signed package' failed to install into /target/."

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
administrollaattori
Level 12
Level 12
Posts: 4391
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby administrollaattori » Mon May 08, 2017 12:57 am

julian1 wrote:
/etc/lsb-release:

Code: Select all

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

Are you sure that you talk about grub menu instead of plymouth text?

Code: Select all

cat /lib/plymouth/themes/mint-text/mint-text.plymouth

julian1
Level 1
Level 1
Posts: 6
Joined: Sun Dec 13, 2015 3:20 am

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby julian1 » Mon May 08, 2017 2:08 am

administrollaattori wrote:
julian1 wrote:
/etc/lsb-release:

Code: Select all

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

Are you sure that you talk about grub menu instead of plymouth text?

Code: Select all

cat /lib/plymouth/themes/mint-text/mint-text.plymouth

I'm talking about the very first boot menu, i.e. a black screen with the header

Code: Select all

GNU GRUB version ...

and the following text entries:

Code: Select all

Ubuntu
Advanced options for Ubuntu
Memory test (...)
Memory test (...)
Microsoft Windows ...

The plymouth file is not present in my system (cat says no such file).
I had never previously tried to install Ubuntu or any other linux-distro but Mint on this laptop, which is brand new.

julian1
Level 1
Level 1
Posts: 6
Joined: Sun Dec 13, 2015 3:20 am

[SOLVED] "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby julian1 » Tue May 09, 2017 2:52 pm

administrollaattori wrote:
julian1 wrote:
/etc/lsb-release:

Code: Select all

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

Are you sure that you talk about grub menu instead of plymouth text?

Code: Select all

cat /lib/plymouth/themes/mint-text/mint-text.plymouth


I installed kernel update 4.4.0-77.98 and a firmware update which appeared in Update Manager. When I rebooted, the problem was solved. It seems that it was a firmware problem.

jxhan
Level 1
Level 1
Posts: 7
Joined: Fri Apr 05, 2013 4:39 am

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby jxhan » Fri Nov 17, 2017 7:11 am

Just had this grub installer problem with mint 18.2 kde.

Spent an hour to find the solution: connect to the internet before installing!

The installer actually tried to fetch the grub package during installation. When it failed to do so (logged in /var/syslog), it emits the error message of "fail to install into /target".

michael louwe
Level 6
Level 6
Posts: 1200
Joined: Sun Sep 11, 2016 11:18 pm

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby michael louwe » Fri Nov 17, 2017 8:46 am

@ jxhan, .......

jxhan wrote:.

.
Did you install with Secure Boot enabled or disabled.?

AFAIK, the 'grub-efi-amd64-signed package' is only needed to be downloaded and installed from the Internet if Secure Boot had been enabled, ie not needed if SB had been disabled.

Secure Boot came together with UEFI technology for the 2012-released Win 8 and was implemented by M$ on nearly all new OEM Windows computers. Secure Boot requires a bootloader to be signed by M$'s Verisign before it can be installed and the certificate signing service cost about US$100 per year. Ubuntu, Fedora, LM, etc had to pay to get their EFI bootloaders signed or approved, supposedly as non-malware. Minor Linux distros who could not afford to pay this yearly signing fee to M$'s Verisign require Secure Boot to be disabled before their bootloaders can be installed.

Initially in 2012, M$ wanted Secure Boot to be permanently enabled on new OEM Windows computers but they backed down after much opposition from the tech industry. Certain Surface devices from M$ have Secure Boot permanently enabled, eg ARM-based Surface RT. M$ will soon be introducing ARM-based Win 10 Surface devices. Will Secure Boot in such devices be permanently enabled.?

With the 2015-released Win 10, M$ told the OEMs that it is up to their discretion whether they want to have Secure Boot permanently enabled. Seems, a few of the OEMs are trying to make Secure Boot permanently enabled for their new 2017 computers by not allowing non-Windows EFI bootloaders to be installed. After much complaints from consumers, the OEMs issued BIOS firmware updates to allow the booting of non-Windows EFI bootloaders.

Most Surface devices have UEFI permanently enabled, ie cannot use Legacy BIOS mode for OS installation, purportedly required because of the Connected Standby feature for mobile devices. So, beware.

jxhan
Level 1
Level 1
Posts: 7
Joined: Fri Apr 05, 2013 4:39 am

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby jxhan » Mon Nov 20, 2017 12:32 am

michael louwe wrote:@ jxhan, .......

Did you install with Secure Boot enabled or disabled.?

AFAIK, the 'grub-efi-amd64-signed package' is only needed to be downloaded and installed from the Internet if Secure Boot had been enabled, ie not needed if SB had been disabled.


Yes I have Secure Boot disabled.

B.T.W., with SB enabled I was given a chance to disable it with a password during installation. So I suppose if that password stuff works, it should be able to disable SB by itself? Anyway, I have manually disabled SB after failing to install a few times and it still didn't solve the problem. I got the hint from here

https://askubuntu.com/questions/789998/ ... ion-target
Franklin, check your /var/log/syslog, probably there are just before "grub-installer: info: Calling 'apt-install grub-efi-amd64-signed' failed" some lines like "Unable to locate package grub-efi-amd64-signed" and "Unable to locate package shim-signed". Probably Installer failed to reach deb packages from the "cdrom" (usb flash)? – osgx May 8 at


And my log file did complain about failing to download grub. Connecting to the internet finally sovled the problem.

happyusers
Level 1
Level 1
Posts: 10
Joined: Sun Jan 27, 2013 12:55 pm

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby happyusers » Sun Dec 03, 2017 11:51 am

Hi,
I am on the way to install Mint cinnamon 32 bits18.3 on a 10" atom computer with SSD (30Go).
I would like to install it side to side with W10. I had trouble booting the live USB version with UEFI but now it's done. I used what is described here : https://forums.linuxmint.com/viewtopic.php?f=42&t=216857
When I press ESC during boot, I access a boot menu and am able to choose USB UEFI device. The OS starts OK and everything is running great. Unfortunately, any attempt of installation aborts with the message "Echec installation de grub2/ le paquet grub-efi-ia32 n'a pu être installé dans /target/". Note that in my case the package is not mentionned as being signed.
I should add that the computer is not connected to the internet (wifi problem to be solved - Realtek RTL8723bs) and that secure boot seems to be on. I thought that the .ISO was corrupted but I tried with Lubuntu and Ubuntu without success. Would you suggest some remedy to that hopeless situation? Thank you for any advice.

User avatar
administrollaattori
Level 12
Level 12
Posts: 4391
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby administrollaattori » Sun Dec 03, 2017 5:12 pm

happyusers wrote:Hi,
I am on the way to install Mint cinnamon 32 bits18.3 on a 10" atom computer with SSD (30Go).

If you have 32 GB SSD, bare Windows 10 will choke within a year for lacking the space. Better to remove Windows 10 or change a bigger hard drive.

Mint installation can be tricky, but LMDE should work.

PS. I have two Atom-CPU mini laptops, and both of them are running fine with 64-bit LMDE Mate.

happyusers
Level 1
Level 1
Posts: 10
Joined: Sun Jan 27, 2013 12:55 pm

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby happyusers » Mon Dec 04, 2017 6:04 am

Thank you administrollattori, I shall try LMDE on a blank SSD, keeping my W10 installation untouched. I suppose the installation will be simpler that way. Would you have some retailer prefered to buy a basic SSD 32 gb ?
By the way, do you think the present version of LMDE incorporates a driver for Realtek wifi device? I have found a way to construct the module but do not understand clearly what the author means by switch to the latest version of kernel and jessie backports...
https://github.com/hadess/rtl8723bs/wiki/RTL8723BS-module-building-instruction-for-Debian-GNU-Linux
Would that step be mandatory with the newer version of LMDE or is that driver too old to be useful?
Furthermore, it seems impossible to install a new driver on a live version of the OS without rebooting and loosing the mods? So I have to undertake a blind install without the help of internet?

happyusers
Level 1
Level 1
Posts: 10
Joined: Sun Jan 27, 2013 12:55 pm

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby happyusers » Wed Dec 06, 2017 4:54 am

I have made one step further. I have built an USB stick that boots LMDE on my notebook. But...
When I try to install it, I get an incomplete screen where I cannot see the buttons Previous Next OK. I can choose the install options but cannot progress from one screen to the other. I have tried to resize the window but it is unresizable, nor is it movable to reach the bottom part. I went blindly to the point where I have to choose how to partition the drive but it is too dangerous to go on that way. What can I do to reach those buttons in order to proceed?
Edit : thank you administrollaattori, it works. I try an install and keep you informed.
Last edited by happyusers on Wed Dec 06, 2017 1:03 pm, edited 2 times in total.

User avatar
administrollaattori
Level 12
Level 12
Posts: 4391
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: "The 'grub-efi-amd64-signed package' failed to install into /target/."

Postby administrollaattori » Wed Dec 06, 2017 10:40 am

happyusers wrote:I have made one step further. I have built an USB stick that boots LMDE on my notebook. But...
When I try to install it, I get an incomplete screen where I cannot see the buttons Previous Next OK. I can choose the install options but cannot progress from one screen to the other. I have tried to resize the window but it is unresizable, nor is it movable to reach the bottom part. I went blindly to the point where I have to choose how to partition the drive but it is too dangerous to go on that way. What can I do to reach those buttons in order to proceed?

Press Alt key and drag the windows using mouse, so you can reach the buttons. :wink:


Return to “Installation & Boot”