Help Center> Server Migration Service> User Guide (Kuala Lumpur Region)> FAQs> Target Server Configuration and Launch> How Do I Fix Error "Failed to execute boot loader on the target ECS" When I Launch the Target Server?
Updated on 2024-03-15 GMT+08:00

How Do I Fix Error "Failed to execute boot loader on the target ECS" When I Launch the Target Server?

Symptom

When you launched the target server, you got message SMS.3103 "Failed to execute boot loader on the target ECS."

Possible Causes

When a target server is being launched, the system reinstalls the Grub on the server. This error is reported if any files used for installing the Grub are missing, such as normal.mod in /usr/lib/grub/i386-pc.

If the migration fails, other causes may be displayed, for example, readlink not found. In this case, check whether the SmsAgent_Error.log file on the source server contains the i386-pc field. If yes, the i386-pc folder is missing on the target server.

Solution

  1. Create an ECS in the same region and AZ and with same OS as the target server.
  2. Detach the system disk of the target server, and attach and mount the disk to the vdb disk of the ECS created in the previous step.
  3. Copy and paste the /usr/lib/grub/i386-pc folder from the ECS to the corresponding directory on the system disk of the target server to overwrite the original folder.
  4. Detach the disk you mounted from the ECS and attach the disk back to the target server.
  5. Restart the target server.