2

Ubuntu adds ubuntu to the UEFI boot list (it can be queried with efibootmgr). Does this only happen during initial setup of Ubuntu or does this also happen during some other time?

If so, how can I disable it, so that Ubuntu doesn't bother managing this entry (that is creating/updating it)?

I am asking this question for Ubuntu 18.04 and 20.04.

0xC0000022L
  • 5,870

1 Answers1

2

I know of at least 3 where you can add boot options to EFI.

  • During installation. This one is unavoidable.
  • When doing apt-get install --reinstall grub-efi.
  • When using efibootmgr.

The last 2 are up to the user of the system so not executed by Ubuntu.


  • grub-install does it too if you omit --no-nvram.

    --no-nvram
    Don't update the `boot-device'/`Boot*' NVRAM variables. 
    This option is only available on EFI and IEEE1275 targets.
    

NVRAM is non-volatile RAM that is used in EFI to store variables that need to persist between boots. Many of these NVRAM variables are architecturally defined, and setting invalid options to NVRAM could cause a machine to not be able to boot.

Rinzwind
  • 309,379