X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from [10.252.6.112] (c-98-207-193-173.hsd1.ca.comcast.net [98.207.193.173]) (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 C2892DC15FC for ; Sun, 27 May 2012 15:59:04 +0000 (UTC) Message-ID: <4FC24FAF.6090904@alpinelinux.org> Date: Sun, 27 May 2012 09:00:47 -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 Subject: [alpine-devel] Notes on Alpine 2.4.2 in Amazon EC2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Just some notes on trying to get Alpine Linux running on an EC2 instance. As of 27 May 2012, The Amazon Linux AMI includes pv-grub, so trying an alternate kernel is fairly simple: * Start the instance (its some variant of redhat) * wget the alpine iso and copy the /boot and /apk directories to the EC2 instance / * create a apkovl.tar.gz that includes the ssh public keys, starts openssh, etc.; place the apkovl in / The /boot/grub/grub.conf looks 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 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 ---- What doesn't work: * Booting the 32bit kernel reports: ERROR: Invalid kernel: 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images xc_dom_oparse_image returned -I http://wiki.alpinelinux.org/wiki/Talk:Create_Alpine_Linux_PV_DomU says that's because the kernel uses PVOps and its running on 64 bit hardware. * Booting the 64bit kernel reports: can only boot x86 32 PAE kernels, not xen-3.0-x86_64 Error 13: Invalid or unsupported executable format --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---