GRUB installation failed
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
GRUB installation failed
The 'grub-efi-amd64-signed' pack failed to install
How do I fix this when installing Linux Mint 19??
How do I fix this when installing Linux Mint 19??
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: GRUB installation failed
Install without Internet connection so you won't receive that update, see viewtopic.php?f=90&t=273058
Re: GRUB installation failed
Can you boot the ISO and open terminal, enter
Post results
Code: Select all
lsblk; sudo blkid
Re: GRUB installation failed
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.7G 1 loop /rofs
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 512M 0 part
└─sda2 8:2 0 931G 0 part /target
sdb 8:16 1 14.5G 0 disk /cdrom
├─sdb1 8:17 1 1.8G 0 part
└─sdb2 8:18 1 2.3M 0 part
sr0 11:0 1 4.4G 0 rom
/dev/sda1: UUID="9795-1506" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="4b6d70f2-ed10-4590-8ed7-a25e9463f390"
/dev/sda2: UUID="ba4ea5dd-5346-4603-949e-8a0d7f192eee" TYPE="ext4" PARTUUID="ff974e69-0cab-4e05-b38d-3a0e9838db29"
/dev/loop0: TYPE="squashfs"
/dev/sr0: UUID="2018-04-26-18-43-51-00" LABEL="Ubuntu 18.04 LTS amd64" TYPE="iso9660" PTUUID="2b192737" PTTYPE="dos"
/dev/sdb1: UUID="2018-06-26-15-38-36-00" LABEL="Linux Mint 19 Cinnamon 64-bit" TYPE="iso9660" PTUUID="3a7dc2fc" PTTYPE="dos" PARTUUID="3a7dc2fc-01"
/dev/sdb2: SEC_TYPE="msdos" UUID="044E-AC17" TYPE="vfat" PARTUUID="3a7dc2fc-02"
Re: GRUB installation failed
Yeah okay but why does this not affect me in Ubuntu?gm10 wrote: ⤴Sun Jul 15, 2018 12:00 pm Install without Internet connection so you won't receive that update, see viewtopic.php?f=90&t=273058
Re: GRUB installation failed
As far as I recall - and I may be confusing issues - the problem here is ultimately caused by the ubuntu-system-adjustments package which is a Mint-specific package that modifies the Ubuntu base. You could probably also manually update ubuntu-system-adjustments before starting the installation and the grub install would then succeed even with an active Internet connection.SpeedyWheels222 wrote: ⤴Sun Jul 15, 2018 2:42 pmYeah okay but why does this not affect me in Ubuntu?gm10 wrote: ⤴Sun Jul 15, 2018 12:00 pm Install without Internet connection so you won't receive that update, see viewtopic.php?f=90&t=273058
Re: GRUB installation failed
Might sound daft but how would I manually update this prior to installing?gm10 wrote: ⤴Sun Jul 15, 2018 2:51 pmAs far as I recall - and I may be confusing issues - the problem here is ultimately caused by the ubuntu-system-adjustments package which is a Mint-specific package that modifies the Ubuntu base. You could probably also manually update ubuntu-system-adjustments before starting the installation and the grub install would then succeed even with an active Internet connection.SpeedyWheels222 wrote: ⤴Sun Jul 15, 2018 2:42 pmYeah okay but why does this not affect me in Ubuntu?gm10 wrote: ⤴Sun Jul 15, 2018 12:00 pm Install without Internet connection so you won't receive that update, see viewtopic.php?f=90&t=273058
Re: GRUB installation failed
You can fix it after the install, boot up the ISO and check in terminal
Post the results
Code: Select all
lsblk; sudo blkid
Re: GRUB installation failed
While connected to the Internet, open a terminal and runSpeedyWheels222 wrote: ⤴Sun Jul 15, 2018 2:57 pm Might sound daft but how would I manually update this prior to installing?
Code: Select all
apt update
apt upgrade ubuntu-system-adjustments
And yes, as JeremyB said, you can also just fix the boot loader by installing grub to the drive manually. I'll let him talk you through it - Jeremy, he already posted the output above.
Re: GRUB installation failed
For this case, boot into the ISO, open terminal, enter the following one line at a time
Then see if you can boot into the install
Code: Select all
sudo mkdir -p /mnt/boot/efi
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
sudo apt-get update
sudo apt-get install ubuntu-system-adjustments
apt install --reinstall grub-efi-amd64-signed
sudo update-grub
exit
Re: GRUB installation failed
This is as far as I can getJeremyB wrote: ⤴Sun Jul 15, 2018 3:07 pm For this case, boot into the ISO, open terminal, enter the following one line at a timeThen see if you can boot into the installCode: Select all
sudo mkdir -p /mnt/boot/efi sudo mount /dev/sda2 /mnt sudo mount /dev/sda1 /mnt/boot/efi for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done sudo chroot /mnt sudo apt-get update sudo apt-get install ubuntu-system-adjustments apt install --reinstall grub-efi-amd64-signed sudo update-grub exit
Re: GRUB installation failed
I think you misunderstood him, his commands were for booting into the Linux Mint you had already installed. Your screenshot shows you were doing another clean install instead. I'm not sure from that screenshot at what stage the installer failed though.
Re: GRUB installation failed
Yeah yeah so I did
My bad
Re: GRUB installation failed
I had exactly the same problem here, with an ASUS Laptop, I had to use more advanced tips from
https://unix.stackexchange.com/question ... ion-failed.
https://unix.stackexchange.com/question ... ion-failed.
Re: GRUB installation failed
Hello I am new to Linux and trying to install a LAMP server on an older HP desktop (HP Compaq 6200 Pro SFF PC). I created a usb boot drive (64 bit) and successfully got into the installer page. When I try to install it stops at the failed signed package piece (GRUB installation failed). I tried without being connected to internet and same deal. I also don't even have an option for Secure Boot in the BIOS to turn off. Can you please help me get this working so I can go to next steps, thanks.
Using the commands earlier I saw I have this data:
mint@mint:~$ lsblk; sudo blkid
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.7G 1 loop /rofs
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 512M 0 part
└─sda2 8:2 0 232.4G 0 part
sdb 8:16 1 119.2G 0 disk
└─sdb1 8:17 1 119.2G 0 part /cdrom
sr0 11:0 1 1024M 0 rom
/dev/sda1: UUID="E638-8127" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="9af33e81-b703-4288-8c40-9305e2c3a549"
/dev/sda2: UUID="00506597-6da0-4f6f-bae4-516bd8a76202" TYPE="ext4" PARTUUID="410e3a92-ec10-43ec-a6b4-fbe235304489"
/dev/sdb1: LABEL="LINUX MINT" UUID="1CF4-1321" TYPE="vfat" PARTUUID="0cb115fd-01"
/dev/loop0: TYPE="squashfs"
Using the commands earlier I saw I have this data:
mint@mint:~$ lsblk; sudo blkid
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.7G 1 loop /rofs
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 512M 0 part
└─sda2 8:2 0 232.4G 0 part
sdb 8:16 1 119.2G 0 disk
└─sdb1 8:17 1 119.2G 0 part /cdrom
sr0 11:0 1 1024M 0 rom
/dev/sda1: UUID="E638-8127" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="9af33e81-b703-4288-8c40-9305e2c3a549"
/dev/sda2: UUID="00506597-6da0-4f6f-bae4-516bd8a76202" TYPE="ext4" PARTUUID="410e3a92-ec10-43ec-a6b4-fbe235304489"
/dev/sdb1: LABEL="LINUX MINT" UUID="1CF4-1321" TYPE="vfat" PARTUUID="0cb115fd-01"
/dev/loop0: TYPE="squashfs"
Re: GRUB installation failed
Run the commands from viewtopic.php?f=46&t=273370#p1496661 then rebootnewpie wrote: ⤴Wed Aug 29, 2018 8:31 am Hello I am new to Linux and trying to install a LAMP server on an older HP desktop (HP Compaq 6200 Pro SFF PC). I created a usb boot drive (64 bit) and successfully got into the installer page. When I try to install it stops at the failed signed package piece (GRUB installation failed). I tried without being connected to internet and same deal. I also don't even have an option for Secure Boot in the BIOS to turn off. Can you please help me get this working so I can go to next steps, thanks.
Using the commands earlier I saw I have this data:
mint@mint:~$ lsblk; sudo blkid
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.7G 1 loop /rofs
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 512M 0 part
└─sda2 8:2 0 232.4G 0 part
sdb 8:16 1 119.2G 0 disk
└─sdb1 8:17 1 119.2G 0 part /cdrom
sr0 11:0 1 1024M 0 rom
/dev/sda1: UUID="E638-8127" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="9af33e81-b703-4288-8c40-9305e2c3a549"
/dev/sda2: UUID="00506597-6da0-4f6f-bae4-516bd8a76202" TYPE="ext4" PARTUUID="410e3a92-ec10-43ec-a6b4-fbe235304489"
/dev/sdb1: LABEL="LINUX MINT" UUID="1CF4-1321" TYPE="vfat" PARTUUID="0cb115fd-01"
/dev/loop0: TYPE="squashfs"
Re: GRUB installation failed
Thanks for quick reply. Can you please tell me where I run these commands. Do I run them in a terminal from the boot from the USB (where the install icon is).
Edit Update: I decided to try in the above setting. Even though I got some errors running the code it did seem to get it working for me. Thank you for the help
Edit Update: I decided to try in the above setting. Even though I got some errors running the code it did seem to get it working for me. Thank you for the help
Re: GRUB installation failed
Just a quick note: During updates I keep getting error:
E: shim-signed: installed shim-signed package post-installation script subprocess returned error exit status 1
Is this something I need or can it be fixed. Thanks
E: shim-signed: installed shim-signed package post-installation script subprocess returned error exit status 1
Is this something I need or can it be fixed. Thanks