Re: UEFI refusing NVRAM writes, breaking GRUB install and upgrade
On Sat, Sep 17, 2022 at 03:07:29AM +0200, vinceh121 wrote:
>Thanks, this works!
>
>Is there a way to set this option during installation on a netinst image?
Yes! You can switch to expert mode for installation and then
grub-efi-$ARCH will ask you these questions. Or you can add these
options using a preseed, tweaking the following settings to change
from the default answers.
### Description: Force extra installation to the EFI removable media path?
# Some EFI-based systems are buggy and do not handle new bootloaders correctly.
# If you force an extra installation of GRUB to the EFI removable media path,
# this should ensure that this system will boot Debian correctly despite such a
# problem. However, it may remove the ability to boot any other operating
# systems that also depend on this path. If so, you will need to make sure that
# GRUB is configured successfully to be able to boot any other OS installations
# correctly.
# d-i grub2/force_efi_extra_removable boolean false
### Description: Update NVRAM variables to automatically boot into Debian?
# GRUB can configure your platform's NVRAM variables so that it boots into
# Debian automatically when powered on. However, you may prefer to disable
# this behavior and avoid changes to your boot configuration. For example,
# if your NVRAM variables have been set up such that your system contacts a
# PXE server on every boot, this would preserve that behavior.
# d-i grub2/update_nvram boolean true
--
Steve McIntyre, Cambridge, UK. steve@einval.com
"Since phone messaging became popular, the young generation has lost the
ability to read or write anything that is longer than one hundred and sixty
characters." -- Ignatios Souvatzis
Reply to: