SUSE Support

Here When You Need Us

Installation of SLES 15 SP3 on eMMC media shows an exit code: 5 error when saving the bootloader

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

Environment

SUSE Linux Enterprise Server 15 SP3

Situation

When installing SLES 15 SP3 on an eMMC device, YaST2 will show an popup error when finishing the bootloader installation:

Execution of command "[["/usr/sbin/shim-install", "--config-file=/boot/grub2/grub.cfg"]]" failed.
Exit code: 5
Error output: Installing for x86_64-efi platform.
Installation finished. No error reported.
Could not prepare Boot variable: Success


This error is also reported in /var/log/YaST2/y2log of the installation environment.

Resolution

Please download the Quarterly Update 1 release of the SUSE Linux Enterprise Server 15 SP3 ISO from the SUSE Customer Center and use this for installation. It contains an update of libefivar1 to version 37-6.12.1 which contains the necessary fix to address this. 

Cause

A problem with parsing the sysfs settings for eMMC devices.

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:000020560
  • Creation Date: 25-Jan-2022
  • Modified Date:04-Feb-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

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

SUSE Support Forums

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

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.

Open an Incident

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