- Download the latest "network-console" source package
(1.29 at time of writing) and patch it with:
network-console-1.29+euca01.patch
- Build the modified "network-console" udeb
- Download the latest "debian-installer" source package
(last tested with version 20101020) and patch it:
d-i-20101020-euca01.patch
- Build the "debian-installer" images, then drop them into
a Debian-mirror style layout under a filesystem directory:
$DIR/dists/testing/main/installer-amd64/current
- Make sure you have the Amazon EC2 tools installed and
configured correctly with your user credentials
- Figure out which install-time PV-GRUB image to use:
- US-East 32-bit Installer (hd0)
- aki-407d9529
- US-East 64-bit Installer (hd0)
- aki-427d952b
- Run the "ec2-build-di" script:
./ec2-build-di -A amd64 -D testing -G aki-427d952b \
-b debian-installer -M file://$DIR --acl public-read
- Write down the output of the last command, as that tells
you what your new $DI_IMAGE AMI is.
- Figure out which run-time PV-GRUB image to use:
- US-East 32-bit Operational (hd0,0)
- aki-4c7d9525
- US-East 64-bit Operational (hd0,0)
- aki-4e7d9527
- Stand up a new Debian amd64 image on a 10GB volume:
./ec2-debian-installer -A $DI_IMAGE -G aki-4e7d9527 \
-k name-of-ec2-ssh-key -g my-security-group -t m1.xlarge \
-n my-debian-image -S 10 -f ssh-key-login.preseed
- More steps TODO: Installing GRUB1 from installer
- Now start a fresh instance from the installed AMI!!!