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.
![](https://support.huaweicloud.com/eu/sms_faq/public_sys-resources/note_3.0-en-us.png)
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
- 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.
- Use the image file to create a private image on the IMS console.
- Log in to the management console and click Image Management Service under Compute.
- On the Image Management Service page, click Create Image.
- Set Type to Import Image and Image Type to System disk image.
- Select the image file uploaded to your OBS bucket.
- 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 API described here to change the value of hw_firmware_type to uefi.
- 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" } ]
- Use the updated image to create an ECS as the target server.
OS Compatibility and Migration Restrictions FAQs
- What Are the Restrictions on Using SMS?
- What Are the Important Statements of SMS?
- How Many Servers Can I Migrate Concurrently Using SMS?
- How Do I Resolve Error "Inconsistent firmware type. Source: UEFI, Target: BIOS" When I Create a Migration Task?
- How Do I Check the Firmware Type of a Source Server?
- Why Can't I Save the Migration Configuration as a Template?
- How Do I Set Resource Limits for SMS-Agent During a Linux Server Migration?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more