Ubuntu – Ubuntu 16.04: grub-efi-amd64-signed failed to install into /target/ error


I have Dell Inspiron 5567 laptop (i-7, 8GB) with Windows-10 OS installed on it. I am trying to install ubuntu 16.04 as a dual boot OS on Windows10. I have disabled fast boot and secure boot options also. I am facing this error while installing Ubuntu 16.04:

grub-efi-amd64-signed failed to install into /target/. Without GRUB boot loader,
the installed system will not boot

The target partition is /dev/sda1.

I have created three partitions:

20GB-ext4- Root mounted
18.9GB-ext4- /home
4GB Swap area

Launchpad link for the log files: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1703167

Pastebin link for boot-repair: https://pastebin.com/raw/u4LSP0V4

Output of sudo fdisk -l:

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F87D48DF-F3FF-429E-8F0B-558F81712A60

Device          Start        End    Sectors   Size Type
/dev/sda1        2048    1026047    1024000   500M EFI System
/dev/sda2     1026048    1288191     262144   128M Microsoft reserved
/dev/sda3     1288192 1843265535 1841977344 878.3G Microsoft basic data
/dev/sda4  1927151616 1928073215     921600   450M Windows recovery environment
/dev/sda5  1928073216 1951281151   23207936  11.1G Windows recovery environment
/dev/sda6  1951281152 1953523711    2242560   1.1G Windows recovery environment
/dev/sda7  1843265536 1851078655    7813120   3.7G Linux swap
/dev/sda8  1851078656 1890140159   39061504  18.6G Linux filesystem
/dev/sda9  1890140160 1927151615   37011456  17.7G Linux filesystem

Partition table entries are not in disk order.

Output of sudo parted -l:

Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  525MB   524MB   fat32           EFI system partition          boot, esp
 2      525MB   660MB   134MB                   Microsoft reserved partition  msftres
 3      660MB   944GB   943GB   ntfs            Basic data partition          msftdata
 7      944GB   948GB   4000MB  linux-swap(v1)
 8      948GB   968GB   20.0GB  ext4
 9      968GB   987GB   18.9GB  ext4
 4      987GB   987GB   472MB   ntfs                                          hidden, diag
 5      987GB   999GB   11.9GB  ntfs                                          hidden, diag
 6      999GB   1000GB  1148MB  ntfs                                          hidden, diag

Model: SRT USB (scsi)
Disk /dev/sdb: 32.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
1      1049kB  32.5GB  32.5GB  primary  fat32        boot, lba

Please guide me how to resolve this problem.

Best Answer

The EFI System Partition was corrupt. I rectified this error with the following steps:

On Windows, I used DISKPART to assign the EFI System partition a letter. Fired up DISKPART, and typed LIST DISK to find the disk, followed by SELECT DISK <N> (where is the drive number). Followed the same steps to find the proper partition (i.e. LIST PARTITION followed by SELECT PARTITION <N>), and then simply typed ASSIGN LETTER = X to have Windows mount the partition to letter X.

Then opened CMD with administrative access. Ran CHKDSK X: /f /r

Then, I tried installing Ubuntu once again, and it installed successfully!

Related Question