Gigabyte Brix issues with mender i.c.w. Ubuntu Server 19.04

I recently built and used GRUB successfully on ARM, using these build commands:

./bootstrap
./configure --with-platform=efi --host=arm-linux-gnueabihf
make
grub-mkimage -p /efi/boot -d grub-core -o bootarm.efi -O arm-efi <MODULES>

As mentioned, this is ARM, but you can just change or remove the “arm” parts where appropriate.

Notice in particular the grub-mkimage -p argument. This is important, and indeed the bootloader will stop at the prompt without it.

Also note that I used GRUB 2.04, and I know that on 2.02, you need to replace bootstrap with autogen.sh.

<MODULES> is the list of modules, which you are modifying. The original list I used is:

boot linux ext2 fat serial part_msdos part_gpt normal iso9660 configfile search loadenv test cat echo gcry_sha256 halt hashsum loadenv sleep reboot test