Computer, Internet, iOS, Android, Smart Phones,
Microsoft Windows, MAC, Linux Tutorials, Tips and Guides

Ubuntu Grub Installation Failed

0

Gurb2 package is installed near the end of installation process of Ubuntu. GNU Grub is a boot-loader package that provides the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system’s partitions. A new Ubuntu user is more likely to encounter failed Grub installation error while installing Ubuntu. The error message states that “The grub efi amd64 signed package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.” It is obvious that Ubuntu will need GRUB to boot from and without it, it will not boot at all. So the Ubuntu installation failed due to GRUB error. Here is how to fix it.

Following is the Grub2 error that will occur in case it failed to install.

GRUB 2 installation failed

Fix Grub Installation

Few users reported that it as a bug. Workaround is renaming a file from installation media.

You can download Ubuntu setup in ISO format that can be burned on USB to create bootable USB disk but probably you burned the Ubuntu setup file (iso) to USB by using Universal USB Installer. During burning process GRUB deb file’s name is changed by bootable disk creator. Path to the file in the USB bootable drive will be as below:

/pool/main/g/grub2-signed/

If the deb file name ends with amd.deb, rename it to amd64.deb (add 64) as displayed in the image below.

Grub2 error

This is for 64bit Ubuntu as the name suggests.

If the name is wrong, the installation process can’t find the correct file and fails to install grub. Boot from USB drive and run setup and GRUB will be installed normally.

Also before installing Ubuntu you should make sure that it is the latest Ubuntu release. Make sure that the internet connection is available to the installer. While Ubuntu installation, right click at the wifi icon at the top and enable wifi. Some users get GRUB installation error when they do not choose to enable internet connection.

Another workaround is to have at least 100MB partition at the beginning of hard disk that should contain following folder structure:

/boot/efi

For example, partition structure in hard disk can be as below:

sda1 /boot/efi  100MB
sda2 /          100GB
sda3 /swap      4000MB
sda4 /home      100GB

The boot and efi part is important to avoid GRUB error.

Another workaround is to disable UEFI support from bios setup. Current versions of Ubuntu are installed in Legacy (not-UEFI) mode. If you enable UEFI, Ubuntu may not boot.

UEFI boot mode

However, it is possible to use efi mode booting to install Ubuntu, but you will need to install an EFI-mode boot loader to get it to boot.

Similar Tips

About Author

The CEO of tipsNinja at your service. I spend quite enough time with computers and smart devices. I learn everyday and I like to share what I learn. You can subscribe to updates or receive updates in your email. If you have any question, or tipsNinja could not help you in any way, please ask it in Questions/Answers section.

Leave A Reply

css.php