Choose style:

Author Topic: grub-efi-amd64-signed failed to install  (Read 5608 times)

0 Members and 1 Guest are viewing this topic.

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
grub-efi-amd64-signed failed to install
« on: March 19, 2017, 10:23:13 am »
Hello. Let me first say I've had Pepp 7 installed on this computer several different times flawlessly. I had recently had Ubuntu GNOME 16.10 on here, but realized Pepp 7 was best for this computer (HP Stream 11), so I was going to reinstall it. I went through the install process as usual letting the installer partition the hard drive with the "Erase and install Peppermint" option as its the only OS on this computer. Each and every time I try to run the LiveUSB to install, I get the following error message:

Code: [Select]
The 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.

I tried installing the Ubuntu GNOME again from LiveUSB the same exact way as I did with Pepp , and that one went perfect. I just want Pepp 7 instead, and have never had this problem before on this computer. I did a bunch of googling and tried many different things, and even found another similar post on this forum, but I'm confused as to whether that issue is the same as mine. I hope someone can point me in the right direction as I'm beating my head against the wall with this one. Thanks.
« Last Edit: July 03, 2017, 10:49:01 pm by Banjo »

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #1 on: March 19, 2017, 10:27:47 am »
inxi -Fz results.

Code: [Select]
peppermint@peppermint ~ $ inxi -Fz
System:    Host: peppermint Kernel: 4.4.0-51-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   System: Hewlett-Packard (portable) product: HP Stream Notebook PC 11 v: Type1 - ProductConfigId
           Mobo: Hewlett-Packard model: 8023 v: 54.12
           Bios: Insyde v: F.08 date: 12/26/2014
CPU:       Dual core Intel Celeron N2840 (-MCP-) cache: 1024 KB
           clock speeds: max: 2582 MHz 1: 1524 MHz 2: 1505 MHz
Graphics:  Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.07hz
           GLX Renderer: Mesa DRI Intel Bay Trail GLX Version: 3.0 Mesa 11.2.0
Audio:     Card Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.0-51-generic
Network:   Card: Broadcom BCM43142 802.11b/g/n driver: wl
           IF: wlp1s0 state: up mac: <filter>
Drives:    HDD Total Size: 31.2GB (9.2% used)
           ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
           ID-2: USB /dev/sda model: USB_2.0_FD size: 31.2GB
Partition: ID-1: / size: 946M used: 267M (29%) fs: overlay dev: N/A
           ID-2: swap-1 size: 0.50GB used: 0.18GB (37%) fs: swap dev: /dev/zram0
           ID-3: swap-2 size: 0.50GB used: 0.18GB (37%) fs: swap dev: /dev/zram1
           ID-4: swap-3 size: 2.03GB used: 0.00GB (0%) fs: swap dev: /dev/mmcblk0p3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 194 Uptime: 56 min Memory: 862.9/1891.5MB
           Client: Shell (bash) inxi: 2.2.35

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25462
  • Karma: 2800
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: grub-efi-amd64-signed failed to install
« Reply #2 on: March 19, 2017, 10:35:08 am »
Make sure secureboot is disabled, and don't choose to download updates during the install
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #3 on: March 19, 2017, 10:47:58 am »
Make sure secureboot is disabled, and don't choose to download updates during the install

Ok. Just made sure secure boot was disabled. Ran the install without updates. It's still having the same issue. Then the installer crashes and won't close out.

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #4 on: March 19, 2017, 11:34:56 am »
Here is what my hard drive looks like from the install using GParted on LiveUSB. Hope this helps.


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25462
  • Karma: 2800
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: grub-efi-amd64-signed failed to install
« Reply #5 on: March 19, 2017, 12:45:53 pm »
Is there anything in the BIOS that locks the EFI partition ?

If not, try this:-

Boot to the LiveUSB (and make sure you have an active internet connection) and run these commands in sequence:
Code: [Select]
sudo mount /dev/mmcblk0p2 /mnt
then
Code: [Select]
sudo mount /dev/mmcblk0p1 /mnt/boot/efi
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install /dev/mmcblk0
then
Code: [Select]
update-grub
then hit Ctrl+D to exit the chroot environment. (the prompt should change back to $)

Close the terminal and shut down the PC

Remove the LiveUSB

Turn ON the PC

did it boot ?
« Last Edit: March 19, 2017, 06:08:19 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #6 on: March 19, 2017, 03:23:05 pm »
Is there anything in the BIOS that locks the EFI partition ?

If not, try this:-

Boot to the LiveUSB (and make sure you have an active internet connection) and run these commands in sequence:
Code: [Select]
sudo mount /dev/mmcblk0p2 /mnt
then
Code: [Select]
sudo mount /dev/mmcblk0p1 /mnt/boot/efi
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install /dev/sda
then
Code: [Select]
update-grub
then hit
Code: [Select]
Ctrl+D
to exit the chroot environment. (the prompt should change back to $)

Close the terminal and shut down the PC

Remove the LiveUSB

Turn ON the PC

did it boot ?

I got as far as the following command:

Code: [Select]
grub-install /dev/sda

I got this error message:

Code: [Select]
root@peppermint / # grub-install /dev/sda
grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.

So I tried this:

Code: [Select]
grub install /dev/mmcblk0p2

And got this result:

Code: [Select]
The program 'grub' is currently not installed. You can install it by typing:
apt install grub

Then:

Code: [Select]
root@peppermint / # apt install grub
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  grub2-common

E: Package 'grub' has no installation candidate

So I tried:

Code: [Select]
root@peppermint / # apt install grub2-common /dev/mmcblk0p2
Reading package lists... Done
E: Unsupported file /dev/mmcblk0p2 given on commandline

I'm at a loss.
« Last Edit: March 19, 2017, 03:56:12 pm by Banjo »

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1947
  • Karma: 335
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: grub-efi-amd64-signed failed to install
« Reply #7 on: March 19, 2017, 04:12:02 pm »
Code: [Select]
grub-install /dev/mmcblk0

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #8 on: March 19, 2017, 04:14:23 pm »
Code: [Select]
grub-install /dev/mmcblk0

Same result

Code: [Select]
root@peppermint / # grub-install /dev/mmcblk0
grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.

I'm also curious as to why it has i386-pc in the result. Its the amd64 version that I've always had on this computer.
« Last Edit: March 19, 2017, 04:16:31 pm by Banjo »

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1947
  • Karma: 335
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: grub-efi-amd64-signed failed to install
« Reply #9 on: March 19, 2017, 04:21:33 pm »
After the last failed install, did you change from Legacy BIOS to UEFI mode before booting that live session (or vice versa)?
« Last Edit: March 19, 2017, 04:27:38 pm by murraymint »

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #10 on: March 19, 2017, 04:56:55 pm »
After the last failed install, did you change from Legacy BIOS to UEFI mode before booting that live session (or vice versa)?

Not intentionally but how can I tell? I went into BIOS and and it said Legacy Support and Secure Boot both disabled. I guess I'm not sure what to check.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1947
  • Karma: 335
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: grub-efi-amd64-signed failed to install
« Reply #11 on: March 19, 2017, 05:22:00 pm »
Can you copy this command to a terminal in the live session and give the result:

Code: [Select]
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5256
  • Karma: 941
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: grub-efi-amd64-signed failed to install
« Reply #12 on: March 19, 2017, 05:48:03 pm »
The partitions in 'inxi -Fz results' look janky, to me, especially in comparison to your previous setup:  https://goo.gl/tnmUFC

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #13 on: March 19, 2017, 05:52:07 pm »
Can you copy this command to a terminal in the live session and give the result:

Code: [Select]
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

Code: [Select]
peppermint@peppermint ~ $ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI

Offline Banjo

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 (64-bit)
Re: grub-efi-amd64-signed failed to install
« Reply #14 on: March 19, 2017, 05:57:14 pm »
The partitions in 'inxi -Fz results' look janky, to me, especially in comparison to your previous setup:  https://goo.gl/tnmUFC

The link you posted is the same computer, different version of Pepp 7. I've had other OS'es on here since then. What I don't get is that I can install Ubuntu GNOME 16.10 right now from that LiveUSB, and everything installs perfect. Pepp 7 uses the same type installer, but it hangs on grub install. I've used this .iso file of Pepp 7 before and all was well.