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 0F6711EBFFA for ; Tue, 12 Apr 2011 14:58:35 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 1675CAE4003 for ; Tue, 12 Apr 2011 14:58:35 +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 MnpTWlaC625m for ; Tue, 12 Apr 2011 14:58:33 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 10569AE4001 for ; Tue, 12 Apr 2011 14:58:33 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id BAE90621BF803 for ; Tue, 12 Apr 2011 14:58:32 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (unknown [10.65.65.1]) (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 9BF41621BDA1B for ; Tue, 12 Apr 2011 14:58:31 +0000 (UTC) Date: Tue, 12 Apr 2011 16:56:02 +0200 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] updated setup-disk and new edge snapshot Message-ID: <20110412165602.49246dbe@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.0; x86_64-unknown-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=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Hi, I have uploaded a new alpine-edge snapshot with an updated setup-disk. The big news are that setup-disk will automatically create raid devices for you if you specify multiple disks. For example: setup-disk /dev/sda /dev/sdb will ask you if you want use those disks as system disk (native install) or data-only disk. Then it will create partitions and raid them. If 3 or more disks are specified it will create raid1 for /boot and raid5 for the rest. For data-only raid5 will be used. You can still create a raid1 in degraded mode with a single disk, using -r option, just like before. LVM is disabled by default but can be enabled with -L option. There is also an -m option that sets the install mode (data/sys) so you don't get prompted for that. Just like before, you can specify a mount point as parameter instead of disk where new root is. This should handle raid, lvm and various file systems. Use this if you want use something else than the default ext4 or want some fancy partitioning. There are now an -s option to set swap size. Some examples: # prompt user which disk and how to use it setup-disk # prompt user which disk and how to use it. Set up raid1 in degraded # mode with a single disk. setup-disk -r # set up swap and /var on raid5: setup-disk -m data /dev/sda /dev/sdb /dev/sdc # set up /boot on raid1, swap and / (root) on LVM on raid5: setup-disk -m sys -L /dev/sda /dev/sdb /dev/sdc There are a help text if '?' is entered on the prompts. I think the help text could be greatly improved and would very much like have help with that. Please download, test and give feedback: http://alpinelinux.org/cgi-bin/dl.cgi/edge/releases/x86/alpine-edge-110412-x86.iso http://alpinelinux.org/cgi-bin/dl.cgi/edge/releases/x86_64/alpine-edge-110412-x86_64.iso Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---