SUSE Support

Here When You Need Us

grub2-install: error: efibootmgr failed to register the boot entry

This document (000020644) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 
SUSE Linux Enterprise Server 12

Situation

While installing SLES 15 SP3 on PERC VD with secure boot option disabled in the installer, the below error was observed causing the installation to fail:
Execution of command "[["/usr/sbin/grub2-install","--target-x86_64-efi","--force","--skip-fs-probe"]]" failed.
Exit code: 1
Error output: Installing for x86_64-efi platform.
Could not prepare Boot variable: Function not implemented
/usr/sbin/grub2-install: error: efibootmgr failed to register the boot entry: Input/output error.

Resolution

For UEFI boot, the EFI system partition must be located on a primary partition formatted with a FAT filesystem, and contained on a MBR or GPT labeled drive.
Further details can be found in the UEFI specifications (section 13.3) located at uefi.org.
The current version of the UEFI specifications PDF (at time of writing the article) is available at: https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf

Cause

Reason for the failure mentioned above was an attempt to install where the EFI system partition, /boot/efi, was located on a logical partition (/dev/sda5). This violates the UEFI specification.  

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020644
  • Creation Date: 26-Apr-2022
  • Modified Date:13-Oct-2023
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.