Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mxgrub: Add switch
no-nvram
to grub-install
for UEFI
In case a drive with an EFI System Partition (ESP) is put into a system that boots in legacy mode, running `grub-install --target=x86_64-efi` will fail, as `efibootmgr` fails to update the NVRAM. Therefore, pass `--no-nvram` to `grub-install`, which skip running efibootmgr. --no-nvram don't update the `boot-device'/`Boot*' NVRAM variables. This option is only available on EFI and IEEE1275 targets. As a downside, the administrator needs to go int the firmware menu, and add the entry in the boot manager manually.
- Loading branch information