Grub failing on installation from live USB

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Jonesyhouse
Level 1
Level 1
Posts: 3
Joined: Fri Jul 20, 2018 4:48 pm

Grub failing on installation from live USB

Post by Jonesyhouse »

Hi everyone, I am a newbie to Linux Mint but not new to Linux having used Ubuntu and Fedora before a few years ago. I am using a Dell 5521 Laptop and have successfully created a live USB and Linux Mint all works successfully from the USB stick on the machine. I have no need to have another operating system on the laptop and have repartitioned and wiped the hard drive removing windows and its boot member.

I have gone into the BIOS and set the boot mode to UEFI and turned off the " Secure " boot option. Having taken all of these steps, every time I try and install Linux Mint permanently it always crashes at the point it attempts to install Grub stating that it cannot be installed to the Target location. I have also checked the health of the disk and there are no issues.

I would really appreciate any help and suggestions to get the permanent install working as I have spent 3 days on this now and I am pulling my hair out! I also really like the look of Linux Mint and really want to to have it installed.

Many thanks for any help and suggestions in advance
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.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Grub failing on installation from live USB

Post by JeremyB »

Boot into the Mint ISO and enter the following in terminal and post results

Code: Select all

lsblk; sudo blkid
Jonesyhouse
Level 1
Level 1
Posts: 3
Joined: Fri Jul 20, 2018 4:48 pm

Re: Grub failing on installation from live USB

Post by Jonesyhouse »

Thank you Jeremy

mint@mint:~$ CODE:SELECT ALL
CODE:SELECT: command not found
mint@mint:~$ lsblk; sudo bikid
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.7G 1 loop /rofs
sda 8:0 0 698.7G 0 disk
├─sda1 8:1 0 512M 0 part
└─sda2 8:2 0 698.1G 0 part /target
sdb 8:16 1 1.9G 0 disk /cdrom
├─sdb1 8:17 1 1.8G 0 part
└─sdb2 8:18 1 2.3M 0 part
sr0 11:0 1 1024M 0 rom
sudo: bikid: command not found
mint@mint:~$
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Grub failing on installation from live USB

Post by JeremyB »

In terminal enter the following one line at a time and reboot

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
apt update
apt install ubuntu-system-adjustments
apt install --reinstall grub-efi-amd64-signed
update-grub
exit
Jonesyhouse
Level 1
Level 1
Posts: 3
Joined: Fri Jul 20, 2018 4:48 pm

Re: Grub failing on installation from live USB

Post by Jonesyhouse »

Jeremy Many thanks - Success ! Thank you for all of your help! appreciated!
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Grub failing on installation from live USB

Post by JeremyB »

A Mint user on IRC was a big help to find a solution. I don't think he has an account on the forums
Locked

Return to “Installation & Boot”