X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from [10.252.6.112] (unknown [74.117.189.39]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nangel@tetrasec.net) by mail.alpinelinux.org (Postfix) with ESMTPSA id E787ADC0E9B for ; Fri, 1 Jun 2012 01:54:23 +0000 (UTC) Message-ID: <4FC8214D.8050404@alpinelinux.org> Date: Thu, 31 May 2012 18:56:29 -0700 From: Nathan Angelacos User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Notes on Alpine 2.4.2 in Amazon EC2 References: <4FC24FAF.6090904@alpinelinux.org> In-Reply-To: <4FC24FAF.6090904@alpinelinux.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks to all for the help - Alpine Linux is now live in the Amazon EC2 cloud. The following isn't pretty (no prepackaged AMI or anything) - more like duct-tape and fishing line - but its a start. Pre setup: * Set up a local box so that it does * dhcp on eth0 * starts sshd * put your public key in /root/.ssh/authorized_keys * set the root password * lbu include root/.ssh * You may wish to delete the /etc/ssh/*key* files, so that they are created on the new box * lbu package amazon.apkovl.tar.gz * IMPORTANT: If you are building this on a 32bit box, delete etc/apk/arch from the apkovl.tar.gz file * Create an instance, use Amazon Linux, *64bit* version * Copy the amazon.apkovl.tar.gz to the instance * Log in, sudo * Move the apkovl.tar.gz to / * wget the latest alpinelinux *x86_64* iso. 32bit won't work * Copy alpinelinux to the EBS harddrive * mkdir x; * mount alpine*.iso x -o loop * cd x * cp -av apks / * cp boot/* /boot * cd * Edit the /boot/grub/grub.conf so that it looks something like this: > default=0 > fallback=1 > timeout=3 > hiddenmenu > > title Alpine Linux > root (hd0) > kernel /boot/grsec alpine_dev=xvda1:ext4 modules=loop,squashfs,sd-mod,ext4 console=hvc0 pax_nouderef BOOT_IMAGE=/boot/grsec > initrd /boot/grsec.gz > > > title Amazon Linux AMI (PV) > root (hd0) > kernel /boot/vmlinuz-3.2.12-3.2.4.amzn1.i686 root=LABEL=/ console=hvc0 > initrd /boot/initramfs-3.2.12-3.2.4.amzn1.i686.img * syslinux automatically adds the BOOT_IMAGE to the kernel command line; grub does not. * Reboot --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---