Index of /debian-ami

[ICO]NameLast modifiedSize

[DIR]Parent Directory  -
[   ]LICENSE26-Jul-2011 20:07 18K
[TXT]LICENSE.html26-Jul-2011 20:11 20K
[TXT]README.html26-Jul-2011 20:39 1.9K
[TXT]d-i-20101020-euca01.patch26-Jul-2011 19:51 3.9K
[   ]ec2-build-di26-Jul-2011 20:07 13K
[   ]ec2-debian-installer26-Jul-2011 20:07 18K
[TXT]ec2-di-commands.txt26-Jul-2011 20:07 713
[TXT]network-console-1.29+euca01.patch26-Jul-2011 19:50 6.2K
[   ]ssh-key-login.preseed26-Jul-2011 20:07 79

How to use these files

  1. Download the latest "network-console" source package (1.29 at time of writing) and patch it with: network-console-1.29+euca01.patch
  2. Build the modified "network-console" udeb
  3. Download the latest "debian-installer" source package (last tested with version 20101020) and patch it: d-i-20101020-euca01.patch
  4. 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
  5. Make sure you have the Amazon EC2 tools installed and configured correctly with your user credentials
  6. 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
  7. 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
  8. Write down the output of the last command, as that tells you what your new $DI_IMAGE AMI is.
  9. 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
  10. 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
  11. More steps TODO: Installing GRUB1 from installer
  12. Now start a fresh instance from the installed AMI!!!