By using AWS re:Post, you agree to the Terms of Use

Importing Ubuntu 20.04 cloud images

2

Following the instructions at https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html. Doing a

aws ec2 import-image --disk-containers Format=OVA,UserBucket="{S3Bucket=<RedactedBucket>,S3Key=ubuntu-18.04-server-cloudimg-amd64.ova}"

Using the image at https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.ova, works as expected and the AMI is created fine.

But the same using https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.ova, i.e the 20.04 image returns

ClientError: We were unable to read your import's initramfs/initrd to determine what drivers your import requires to run in EC2.

I know there are AMIs available with the Ubuntu 20.04, I am trying to understand what causes this error and how to overcome it in a custom OVA I am building.

TIA

  • Had this exact same error trying to import an ubuntu 20.04 image, created on Virtualbox, starting from the ubuntu focal-server-cloudimg-amd64.ova , using default kernel 5.4.0-121-generic.

    Please help!

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions