EC2でUbuntuのS3 AMIを作ると起動しない

Commniuty Imageからカスタマイズすると起動しない!!とおもったらgrubとfstabの設定を変えないとダメ。なんでこんな仕様になってるんだw

64bit版の場合。

/boot/grub/menu.lst
title		Ubuntu 10.10, kernel 2.6.35-24-virtual
root		(hd0)
kernel		/boot/vmlinuz-2.6.35-24-virtual root=/dev/sda1 ro console=hvc0 
initrd		/boot/initrd.img-2.6.35-24-virtual

rootを/dev/sda1に変更。

/etc/fstab
# /etc/fstab: static file system information.
#                                                
proc                                            /proc           proc    nodev,noexec,nosuid 0       0
/dev/sda1                                       /               ext4    defaults        0       0
/dev/sdb	/mnt	auto	defaults,nobootwait,comment=cloudconfig	0	2

/のmount pointを/dev/sda1に変更。

これで起動します。
これで半日つかったよ!!111