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 with BIOS when you create a migration task for a source server booted with 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 the image with the UEFI boot mode.
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 the BIOS boot mode for you to create the target server. You can also use a private image with the BIOS boot mode to create the target server.
- If the source server uses UEFI, you need to use an image with the UEFI boot mode to create the target server.
Solution Using the Management Console
- Download an image file as needed. If such an image file has been stored in your OBS bucket, go to 3.
- Upload the image file to your OBS bucket.
- Use the image file to create a private image on the IMS console.
- Select Image File for Source and select the uploaded image file.
- Set Boot Mode to UEFI.

- 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 following API to change the value of hw_firmware_type to uefi.
- API URI: 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" } ] - Use the updated image to create an ECS as the target server.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.