t3.nano instance not booting with "Amazon Linux 2023" AMI in eu-west-3 region

2

The Instance configuration is the following

  • region: eu-west-3 (Paris)
  • AMI ami-017d9f576d1635a77 (Amazon Linux 2023)
  • instance type: t3.nano
  • 12GB gp2 encrypted ebs volume, encrypted with default aws/ebs key
  • hibernation enabled
  • IAM instance profile : AmazonSSMRoleForInstancesQuickSetup

Symptom: instance is not booting/stuck at grub with kernel error.

console log output:

EFI stub: ERROR: Failed to allocate usable memory for kernel. EFI stub: ERROR: efi_relocate_kernel() failed! EFI stub: ERROR: efi_main() failed! Booting Amazon Linux (6.1.19-30.43.amzn2023.x86_64) 2023' error: ../../grub-core/loader/i386/efi/linux.c:160:can't allocate kernel. error: ../../grub-core/loader/i386/efi/linux.c:260:you need to load the kernel first. Press any key to continue... GRUB version 2.06 �������������������������� Press enter to boot the selected OS, e' to edit the commands
before booting or `c' for a command-line. ESC to return previous

posta un anno fa642 visualizzazioni
1 Risposta
1

Hello, Greetings of the day!! Thank you for contacting AWS.

I understand you are getting the following error while launching a T3.nano EC2 instance in eu-west-3 using the Amazon Linux 2023 AMI - ami-017d9f576d1635a77.

EFI stub: ERROR: Failed to allocate usable memory for kernel. EFI stub: ERROR: efi_relocate_kernel() failed! EFI stub: ERROR: efi_main() failed! Booting Amazon Linux (6.1.19-30.43.amzn2023.x86_64) 2023' error: ../../grub-core/loader/i386/efi/linux.c:160:can't allocate kernel. error

To assist you here, I tried to replicate the issue in my lab environment by launching a T3.nano instance in eu-west-3 using the same AMI - ami-017d9f576d1635a77 with kernel version - 6.1.19-30.43.amzn2023.x86_64. I could verify that I was facing the same issue.

Please know that the internal team is aware of this issue and are working towards resolving the same.

Meanwhile, I see there is a new release for Amazon Linux 2023 AMI (ami-069fa606c9a99d947) in eu-west-3 with kernel version - 6.1.21-1.45.amzn2023.x86_64. I further tested by launching t3.nano instance, using the latest AMI and was able to verify that there were no issues with the booting.

In case you continue to face the issue with the latest AMI, we would require details that are non-public information and thus, I would request you to kindly open a support case with all the resource details with AWS PS using the following link - https://console.aws.amazon.com/support/home#/case/create

I hope the above information helps.

Thank you and Wish you a good day ahead!

AWS
TECNICO DI SUPPORTO
Aditi_B
con risposta un anno fa
  • Awesome. Thank you. It is working with the newer AMI (ami-069fa606c9a99d947). Great stuff.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande