All Products
Search
Document Center

Server Migration Center:What do I do if the "efibootmgr package is required on EFI systems" error message appears?

Last Updated:May 11, 2024

Problem description

During the migration of an operating system, the "efibootmgr package is required on EFI systems" error message is reported.

Cause

An operating system can be started by using Basic Input Output System (BIOS) or Unified Extensible Firmware Interface (UEFI). If you use UEFI, the efibootmgr tool is required to set the correct startup sequence for the migration job. If the efibootmgr tool is not installed in the operating system to be migrated, the operating system may fail to be migrated.

Solution

  1. Connect to the Elastic Compute Service (ECS) instance whose operating system you want to migrate. For more information, see Connect to a Linux instance by using a password or key.

  2. Run the following command to view the startup mode of the operating system:

     [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

    A command output similar to the following one is returned. This indicates that the startup mode of the operating system is UEFI.

    [root@iZbp104w56ovfyfxy9o**** ~]# [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
    UEFI
  3. Run the following command to install the efibootmgr tool:

    yum -y install efibootmgr
  4. After the error is resolved, run the SMC client and retry the migration job. For more information, see Run the SMC client.