내용으로 건너뛰기

Error when attempting to import an Ubuntu image - ClientError: Unable to determine kernel version.

0

I am attempting to import an Ubuntu image into AWS and have been having some trouble. First I had to hide one of the grub.cfg files as it maintains 2 and the importer did not like that. After doing so I get the following error:

import-ami-079f7cc0fddfae286 | deleted | ClientError: Unable to determine kernel version.

I am using the workflow template to import an image. The image has been uploaded to S3. I did confirm that it is on the list of supported kernels, just in case. It's running Ubuntu 18.04 on kernel version 4.15.0 general. It isn't complaining about an unsupported version, but that it can't even find the kernel version.

질문됨 2년 전393회 조회

1개 답변
0

Since you've already hidden the duplicate grub.cfg and confirmed the kernel is supported, the next step might be checking the image metadata and ensuring that the necessary kernel files are in the correct locations for the importer to recognize them. Sometimes, the importer struggles with the way boot settings are configured, especially with customizations in Ubuntu images. Double-check that your /boot/grub/menu.lst or grub.cfg files are pointing correctly to the kernel version. You could also try mounting the image and confirming that the kernel is accessible from within the system itself. Additionally, reviewing the logs from the import task might provide more specific clues about where it's failing to detect the kernel.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠