When installing Ubuntu on my Acer TravelMate Spin B1 B118-RN-P7XQ the installation stops/freezes when installing GRUB2.
When I then reboot the notebook (so the installation is not complete) I get to the GRUB2-command-line, where I can boot Ubuntu manually. However, every attempt to fix GRUB freezes the notebook.

This is the case with Ubuntu 16.04 LTS with and without getting updates at installation time and Ubuntu 17.04 without getting updates.  

Only when installing Ubuntu 17.04 WITH updates during installation time, the installation still freezes, but I can then boot right into Ubuntu. (However I doubt the installation is very usable/stable because of the incomplete installation...)

One possible workaround is to first install Ubuntu 17.04 with updates, then installing another Ubuntu with `ubiquity -b` (no bootloader), in which case the installation successfully completes.

Things I have tried:

* using another distribution: Ubuntu GNOME, Linux Mint, Antergos (with GRUB2); always the same
* calling Acer customer support: they switched the motherboard (?) and basically told me that they don't support Ubuntu, Ubuntu is not compatible (yet), and I should switch to Windows 10
* installing Antergos with systemd-boot instead of GRUB2, installing Windows 10; both work fine

This notebook comes with Endless OS, a strange Linux distribution, preinstalled (I can also successfully reinstall it). It also uses GRUB2 (Acer apparently has made it work on that distro).

Did I make any mistake?  

If not, can I help somewhere to fix this problem, e.g. by providing (hardware-)information and/or testing? I'm not using the notebook actively, there is no data on it, so it might come handy.

Update 1: `sudo parted -l` after installing Ubuntu 17.04 with updates:

```
Model: ATA Micron_110_MTFD (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name                  Flags
 1      1049kB  538MB  537MB  fat32        EFI System Partition  boot, esp
 2      538MB   256GB  256GB  ext4

```

Update 2: <https://paste2.org/9175MVMI>  

Also, `boot-repair` get's stuck at reinstalling GRUB...

Update 3:  

diff, left is Ubuntum right is EndlessOS: <https://www.diffchecker.com/d1QXLt5a>

Update 4:  

Error still occurs with Ubuntu 17.10.1 (though workaround exists).