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

Manual kernel update: System won't boot new kernel

Updated January 02, 2019 02:01 AM

Comparing two column in two separate excel

Updated September 18, 2018 15:01 PM