I am able to make a Centos 5.x AMI by following steps similar to those outlined here:


and detailed here:


However this process does not work as noted for CentOS 6 because there is no Xen kernel. Is it possible to create a CentOS 6 AMI either using an Amazon-provided kernel or some other kernel?


I was actually making this more complicated than it needed to be. As noted in the link that @malcolmpdx provided (http://wiki.xen.org/xenwiki/RHEL6Xen4Tutorial):

As a default RHEL6 DOES:

  • RHEL6 runs as Xen PV (paravirtual) domU using the pvops framework in the default kernel.
  • RHEL6 runs as Xen HVM (fully virtualized) guest.
  • RHEL6 ships with optimized Xen PV-on-HVM drivers for RHEL6 Xen HVM guests.

It turns out that my issues with booting from the stock kernel we due to the device names. The root partition in the grub menu.lst and fstab need to be changed to /dev/xvde1.


Redhat and thus Centos dropped Xen as of v 6. However, you might want to take a look at this tutorial - not specifically about AWS AMI creation, but it has sections about installing an upstream kernel that supports Xen. http://wiki.xen.org/xenwiki/RHEL6Xen4Tutorial

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.