[Fix] Cannot boot after installing Linux Mint in UEFI mode

Linux Mint is a popular Linux distro and is based on Ubuntu LTS distribution. Recently, Linux Mint 19 was released, almost three months after the release of Ubuntu LTS 18.04, with many new features and I decided to give it a try, but the installation was not as smooth as I expected. First, I got an GRUB installation error:┬áThe ‘grub-efi-amd64-signed’ package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot. After many trial-and-error experiments, I finally fixed the error and was able to install Linux Mint successfully (if you experience the same error and would like to know how I fixed it, please refer to my post here). I was happy, but my happiness didn’t last long.

When I tried to reboot my computer after the installation, my computer presented me with a black screen saying no bootable system is installed. It is very strange, considering I just successfully installed Linux Mint. After poking around for a couple of hours, I found the cause of the problem.

My computer supports UEFI mode and it seems that the Linux Mint installation failed to install the boot loader into the EFI partition, even though the installation completed successfully. And the fix is very simple, thanks to a wonderful tool called Boot-Repair. Here is how you fix the boot issue using Boot-Repair:

1). Use Linux Mint Live USB stick to boot up computer

2). Install Boot-Repair by using the following command:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

3). Start Boot-Repair, click on “Advanced options”, go to the “GRUB location” tab.

4). If you do not see a “Separate /boot/efi partition” line, this means that your PC does not have any UEFI partition. In this case, exit Boot-Repair, then create an UEFI partition (see the “Creating an UEFI partition” paragraph above).

5). If you see a “Separate /boot/efi partition” line, tick it then click the “Apply” button.

After the repair is finished, you can boot up your computer without any error.

 

Leave a Reply

avatar
  Subscribe  
Notify of