Prevent GRUB updates from changing EFI boot order

by Oliver Kuckertz   Last Updated August 10, 2018 13:01 PM

I'm currently working on a tripple-boot system with Ubuntu 18.04, macOS and Windows. The standard bootloader that the firmware (ASUS Impact VII, APTIO-based EFI) is supposed to launch is Clover. Clover then runs GRUB 2, Apple's EFI bootloader or the Windows bootloader.

The problem is that when I update the standard grub-efi packages on my Ubuntu 18.04 system via apt/dpkg, the EFI firmware will proceed to boot GRUB instead of Clover on the next reboot.

I understand that this happens because the GRUB setup changes the EFI variables to make itself the default bootloader. More specifically it does not pass --no-nvram to grub-install.

How can I make the GRUB EFI packages not modify the EFI boot variables via grub-install, so that Clover remains the default bootloader?

Related Questions

Grub doesn't show up when booting from usb

Updated January 01, 2017 08:00 AM

Grub : linux command not found

Updated July 19, 2017 20:01 PM