# What Do I Do If an Exception Occurs When I Start an ECS Created from an Image Using the UEFI Boot Mode?

#### Symptom

An ECS created from a private image using the UEFI boot mode cannot start.

#### Possible Causes

The image OS uses the UEFI boot mode, but the uefi attribute is not added to the image.

#### Solution

1. Delete the ECS that failed to start.
2. Call the API to update the image attributes and 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" in Image Management Service API Reference.

3. Use the updated image to create an ECS.

Parent topic: ECS Creation