[ubuntu-cloud] trying to make a local-store AMI

David Stainton dstainton415 at gmail.com
Wed Mar 9 21:02:24 UTC 2011


Hi,

I'm trying to make a local store AMI from a running instance with
ami-08f40561 (ubuntu-maverick-10.10-amd64); like this:

ec2-bundle-vol --cert cert-KZR4IXA6BHN3A3PH3ONHLUP5VVSA2M7K.pem
--privatekey pk-KZR4IXA6BHN3A3PH3ONHLUP5VVSA2M7K.pem -u xxxx-xxxx-xxxx
ec2-upload-bundle -b my-ami-bucket -m image.manifest.xml -a
AKIAJMHWTRQLX77IO5JA -s cd/MCdjCzJ/twnRqZgUnge/yY5sptB9T5PKSupX+
ec2-register --name my-ami-bucket/my-server my-ami-bucket/image.manifest.xml
ec2-run-instances ami-xxxxxxxx --key default --instance-type m1.large


This results in the ec2 instance booting up with kernel errors in the
log; it cannot find the root fs...
How to fix? I've tried registering the ami bundle with different
settings such as:

ec2-register --name "my-ami-bucket/my-server" --root-device-name
/dev/sda1 --block-device-mapping '/dev/sda=ephemeral0'
my-ami-bucket/my-server.manifest.xml
ec2-register --name "my-ami-bucket/my-server" --root-device-name
/dev/sda1 --block-device-mapping '/dev/sda1=ephemeral0'
my-ami-bucket/my-server.manifest.xml
ec2-register --name "my-ami-bucket/my-server" --root-device-name
/dev/sda1 --block-device-mapping '/dev/sda=ephemeral0'
--block-device-mapping '/dev/sdb=none'
my-ami-bucket/my-server.manifest.xml



David
 



More information about the Ubuntu-cloud mailing list