View Issue Details

IDProjectCategoryView StatusLast Update
0004390Rocky-Linux-8Generalpublic2023-11-21 13:44
ReporterMartin Litwora Assigned ToNeil Hanlon  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0004390: AWS AMI support for the UEFI
DescriptionRockyLinux8 images seems to be UEFI ready in AWS (eg. they have the efibootmgr package installed) but I'm not able to boot the instance as an UEFI.

Possibly the issue is caused by the fact that the boot method for the AMI instance is not set:
[cloudshell-user@ip-10-2-38-115 ~]$ aws ec2 describe-images --region us-east-1 --image-id ami-097104a26f5e1c26a
{
    "Images": [
        {
            "Architecture": "x86_64",
            "CreationDate": "2023-06-06T15:25:09.000Z",
            "ImageId": "ami-097104a26f5e1c26a",
            "ImageLocation": "aws-marketplace/Rocky-8-EC2-Base-8.8-20230518.0.x86_64-d6577ceb-8ea8-4e0e-84c6-f098fc302e82",
:...skipping...
{
    "Images": [
        {
            "Architecture": "x86_64",
            "CreationDate": "2023-06-06T15:25:09.000Z",
            "ImageId": "ami-097104a26f5e1c26a",
            "ImageLocation": "aws-marketplace/Rocky-8-EC2-Base-8.8-20230518.0.x86_64-d6577ceb-8ea8-4e0e-84c6-f098fc302e82",
            "ImageType": "machine",
            "Public": true,
            "OwnerId": "679593333241",
            "PlatformDetails": "Linux/UNIX",
            "UsageOperation": "RunInstances",
            "ProductCodes": [
                {
                    "ProductCodeId": "cotnnspjrsi38lfn8qo4ibnnm",
                    "ProductCodeType": "marketplace"
                }
            ],
            "State": "available",
            "BlockDeviceMappings": [
                {
                    "DeviceName": "/dev/sda1",
                    "Ebs": {
                        "DeleteOnTermination": true,
                        "SnapshotId": "snap-01e9e7f8f03c4af12",
                        "VolumeSize": 10,
                        "VolumeType": "gp2",
                        "Encrypted": false
                    }
                }
            ],
            "Description": "Rocky-8-EC2-Base-8.8-20230518.0.x86_64",
            "EnaSupport": true,
            "Hypervisor": "xen",
            "ImageOwnerAlias": "aws-marketplace",
            "Name": "Rocky-8-EC2-Base-8.8-20230518.0.x86_64-d6577ceb-8ea8-4e0e-84c6-f098fc302e82",
            "RootDeviceName": "/dev/sda1",
            "RootDeviceType": "ebs",
            "VirtualizationType": "hvm",
            "DeprecationTime": "2025-06-06T15:25:09.000Z"
        }
    ]
}

There is missing "BootMode". Can you please add it to make the rocky UEFI ready? Set the BootMode to "uefi-preferred".

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/launch-instance-boot-mode.html#UEFI-supported-types
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot-mode.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
TagsNo tags attached.

Activities

Neil Hanlon

Neil Hanlon

2023-10-10 13:39

administrator   ~0004853

Hm, i will need to look into this. As far as I know, these are new options and have not been available for use before. There were previously only two options--BIOS or UEFI. You are correct that our images support both.

I would recommend, in the mean time, that you clone the AMI and set this parameter yourself. I will look into setting this parameter for our 8.9 and 9.3 images in a month's time or so.
Martin Litwora

Martin Litwora

2023-10-12 07:17

reporter   ~0004859

Thanks, Neil! Setting this parameter for 8.9/9.3 is sufficient for me.
Neil Hanlon

Neil Hanlon

2023-11-19 21:58

administrator   ~0005182

https://git.resf.org/sig_core/toolkit/commit/ca358f61174be9e176e949210676153eac1f5ebf
Neil Hanlon

Neil Hanlon

2023-11-21 13:44

administrator   ~0005189

All set - thank you!

Issue History

Date Modified Username Field Change
2023-10-10 08:07 Martin Litwora New Issue
2023-10-10 13:39 Neil Hanlon Note Added: 0004853
2023-10-10 13:39 Neil Hanlon Assigned To => Neil Hanlon
2023-10-10 13:39 Neil Hanlon Status new => acknowledged
2023-10-12 07:17 Martin Litwora Note Added: 0004859
2023-11-19 21:58 Neil Hanlon Note Added: 0005182
2023-11-21 13:44 Neil Hanlon Status acknowledged => resolved
2023-11-21 13:44 Neil Hanlon Resolution open => fixed
2023-11-21 13:44 Neil Hanlon Note Added: 0005189