Build an EC2 EBS root for archlinux
Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 6 commits behind yejun:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
makearchec2.sh

README

Forked version: 
-- use ext4 instead of btrfs
-- don't use prepared zsh environments
-- directly using the new partition during the creation


Step 1: Compile kernel26-ec2 kernel26-ec2-headers ec2-metadata 
                btrfs-progs-git ec2arch from AUR

Step 2: Copy compiled packages to /root/repo
        repo-add ec2.db.tar.gz *.pkg.*

Step 3: Make a New EBS volume and attach to /dev/sdg

Step 4: run makearchec2.sh

Step 5: Make snapshot of your finished EBS volume.

Step 6: Register your ami

 i386:
   ec2-register -C cert-.pem -K pk-.pem -a i386 --root-device-name /dev/sda --kernel aki-4c7d9525 -n aminame -s snap-id

 x86_64:
   ec2-register -C cert-.pem -K pk-.pem -a x86_64 --root-device-name /dev/sda --kernel aki-4e7d9527 -n aminame -s snap-id