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
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.
Run the following command to view the startup mode of the operating system:
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOSA 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 UEFIRun the following command to install the efibootmgr tool:
yum -y install efibootmgrAfter the error is resolved, run the SMC client and retry the migration job. For more information, see Run the SMC client.