Diff for /wikisrc/amazon_ec2/build_your_own_ami.mdwn between versions 1.1 and 1.2

version 1.1, 2011/03/19 14:43:23 version 1.2, 2011/05/13 09:05:39
Line 6  EC2 does not provide direct access to co Line 6  EC2 does not provide direct access to co
   
 This tutorial assumes that you will build the system under */mnt/ec2*.  This tutorial assumes that you will build the system under */mnt/ec2*.
   
 /!\Please note that you will need the [[!template id=man name=makefs section=8]] tool later in the process, so you can build a file system image that can be uploaded to Amazon EC2. You are therefore advised to perform the installation directly under a living NetBSD system, or in case your are not, to fetch the *src* tree to build the toolchain, which will contain the **nbmakefs** utility.  /!\Please note that you will need the [[!template id=man name=makefs section=8]] tool later in the process, so you can build a file system image that can be uploaded to Amazon EC2. You are therefore advised to perform the installation directly under a living NetBSD system, or in case your are not, to fetch the *src* tree to [build the toolchain](http://www.netbsd.org/docs/guide/en/chap-build.html#chap-build-tools), which will contain the **nbmakefs** utility.
   
 [Details regarding on how you can fetch *src* are given in the NetBSD's guide](http://www.netbsd.org/docs/guide/en/chap-fetch.html). Here are the basic commands you should type to build and install NetBSD under */mnt/ec2*:  [Details regarding on how you can fetch *src* are given in the NetBSD's guide](http://www.netbsd.org/docs/guide/en/chap-fetch.html). Here are the basic commands you should type to build and install NetBSD under */mnt/ec2*:
   
Line 17  ftp -a 'http://ftp.netbsd.org/pub/NetBSD Line 17  ftp -a 'http://ftp.netbsd.org/pub/NetBSD
 # Decompress  # Decompress
 tar -xzpf src.tar.gz  tar -xzpf src.tar.gz
 cd src  cd src
 # build distribution and kernel  # the following commands will build tools, distribution and kernel
   ./build.sh -O ../obj -T ../tools -m amd64 tools
 ./build.sh -O ../obj -T ../tools -D ../dest -R ../release -m amd64 -U distribution  ./build.sh -O ../obj -T ../tools -D ../dest -R ../release -m amd64 -U distribution
 ./build.sh -O ../obj -T ../tools -m amd64 kernel=XEN3_DOMU  ./build.sh -O ../obj -T ../tools -m amd64 kernel=XEN3_DOMU
 # install distribution in /mnt/ec2  # install distribution in /mnt/ec2

Removed from v.1.1  
changed lines
  Added in v.1.2


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb