X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 31E561EB587 for ; Sat, 26 Feb 2011 15:58:34 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 6C547AE4003; Sat, 26 Feb 2011 15:58:34 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RYtk2gJIuglh; Sat, 26 Feb 2011 15:58:18 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id C096DAE4001; Sat, 26 Feb 2011 15:58:18 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 5C6F360A7EE35; Sat, 26 Feb 2011 15:58:18 +0000 (UTC) Received: from localhost (unknown [10.65.96.33]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 35EBB60A7EE32; Sat, 26 Feb 2011 15:58:18 +0000 (UTC) Date: Sat, 26 Feb 2011 15:58:08 +0000 From: Natanael Copa To: "Wei Liang(David)" Cc: Subject: [alpine-devel] Re: [acf] How to install alpine on btrfs Message-ID: <20110226155808.32ef06ce@alpinelinux.org> In-Reply-To: <12E1BE9450B64247A164A199754D2F1F05B802@DKDN01MX07.danfoss.net> References: <12E1BE9450B64247A164A199754D2F1F05B802@DKDN01MX07.danfoss.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.0; i686-pc-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Fri, 25 Feb 2011 08:10:03 +0100 "Wei Liang(David)" wrote: > Hi , > I want to install alpine to a very old computer using btrfs > as a VOIP server. I have been searching the internet but no manual > for Alpine linux. Is there any reference for this ? There was a bug in btrfs(?) that caused apk-tools to think it was running on tmpfs. This caused some problems. Might be fixed in 2.6.37 kernel. Generally, you can mount your disk layout on a tmpdir and run setup-disk /your/root/mount Since I dont think the bootloader supports btrfs you'll need /boot on ext3. so if you have a small sda1 with ext3 and a big sda2 with btrfs you are supposed to be able to do: mount -t btrfs /dev/sda2 /mnt mkdir /mnt/boot mount -t ext3 /dev/sda1 /mnt/boot setup-disk /mnt but... I'm not sure if that will work like that. You will also need to make sure that the initrafms has the btrfs kernel module included and gets loaded. So before you run setup-disk /mnt: echo "kernel/fs/btrfs" > /etc/mkinitfs/modules.d/btrfs # add btrfs to features in /etc/mkinitfs/mkinitfs.conf then you run setup-disk /mnt and after you mount it again and edit the extlinux.conf and add btrfs to modules=.... Something like that. Would be nice if you report any bugs if setup-disk fails and write a howto on wiki if you get it running. Thanks! > 敬礼 | Med venlig hilsen | Best regards > David Wei > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---