Help Center> Server Migration Service> FAQs> OS Compatibility and Migration Restrictions> How Do I Resolve Error "Inconsistent firmware type. Source: UEFI, Target: BIOS" When I Create a Migration Task?
Updated on 2023-10-10 GMT+08:00

How Do I Resolve Error "Inconsistent firmware type. Source: UEFI, Target: BIOS" When I Create a Migration Task?

Symptom

If you select a target server booted from BIOS when you create a migration task for a source server booted from UEFI, you will receive this message.

Possible Causes

The target server uses a different boot mode from the source server. In this case, the target server cannot be launched after the migration. You must select a target server created from an image with UEFI configured.

SMS requires that the target server OS uses the same type of firmware as the source server OS.

  • If the source server uses BIOS, Huawei Cloud will automatically provide a public image with BIOS configured for you to create the target server. You can also use a private image configured with BIOS to create the target server.
  • If the source server uses UEFI, you need to use an image with UEFI configured to create the target server.

Solution Using the Management Console

  1. Obtain an image file with UEFI configured and upload the image file to your OBS bucket. If you already have such an image file stored in your bucket, go to 2.
  2. Use the image file to create a private image on the IMS console.

    1. Log in to the management console and click Image Management Service under Compute.
    2. On the Image Management Service page, click Create Image.
    3. Set Type to Import Image and Image Type to System disk image.
    4. Select the image file uploaded to your OBS bucket.
    5. Set Boot Mode to UEFI.

  3. Use the private image to create an ECS as the target server.

    For details, see Creating a Windows System Disk Image from an External Image File or Creating a Linux System Disk Image from an External Image File.

Solution Using APIs

If changing the boot mode specified in an image through the management console is not supported in the current region, perform the following operations:

Call the API described here to change the value of hw_firmware_type to uefi.

  1. Call the API with the URI of PATCH /v2/cloudimages/{image_id}.

    For details about how to call the API, see Updating Image Information.

    [
        {
            "op": "add",
            "path": "/hw_firmware_type",
            "value": "uefi"
        }
    ]

  2. Use the updated image to create an ECS as the target server.

OS Compatibility and Migration Restrictions FAQs

more