From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LVvKT-0007uu-3D for mharc-grub-devel@gnu.org; Sat, 07 Feb 2009 17:07:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVvKR-0007s4-9V for grub-devel@gnu.org; Sat, 07 Feb 2009 17:07:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVvKQ-0007q9-0S for grub-devel@gnu.org; Sat, 07 Feb 2009 17:07:10 -0500 Received: from [199.232.76.173] (port=59261 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVvKP-0007q0-Ty for grub-devel@gnu.org; Sat, 07 Feb 2009 17:07:09 -0500 Received: from mail-fx0-f16.google.com ([209.85.220.16]:41647) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVvKP-0003SP-Ct for grub-devel@gnu.org; Sat, 07 Feb 2009 17:07:09 -0500 Received: by fxm9 with SMTP id 9so580540fxm.18 for ; Sat, 07 Feb 2009 14:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=dzwc/9LnMM73TLDhZ0+bq09m2QJPD5zGxUoO19DhSEE=; b=JWgQ8aAmT0avs1zF78kc5zhwA6UD3SYiFtRMOJicWJxTly7UtNM2RW8iEmZtn0PKJa ALjcdb0ajtBDw3x6eM4dFGgshl9W60hbKnWfvZr/sNW/MZlqN4EaWIsANhDhTY4e8E38 4v2TOqnZeIrYL5erEbGDF+BBo8r2vuUDXeBm0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=IPr3JrGBC/E9f5O0kYFOlC2bg4tBFUEQAR39wB4jW67qxgejGEbNj8cXJaV3UiV/k4 sl659r+dudb+M6v5p+fOy8j1tycA6DwNoRGxSmzc2lQ2dqkj9zdLlXhXd9XdgrejdQtW ty3PbYds4PKzb5OrJZnqHsO1u0CzWAMmCoYzM= Received: by 10.181.33.18 with SMTP id l18mr653488bkj.192.1234044427328; Sat, 07 Feb 2009 14:07:07 -0800 (PST) Received: from ?91.202.192.102? ([91.202.192.102]) by mx.google.com with ESMTPS id p17sm765258fka.10.2009.02.07.14.07.06 (version=SSLv3 cipher=RC4-MD5); Sat, 07 Feb 2009 14:07:06 -0800 (PST) From: Wojciech Pyczak To: The development of GRUB 2 In-Reply-To: <1233476393.3427.1.camel@fz.local> References: <48EDBCEA.6020507@wpkg.org> <1223540903.4139.0.camel@fz.local> <1233476393.3427.1.camel@fz.local> Content-Type: text/plain Date: Sat, 07 Feb 2009 23:07:17 +0100 Message-Id: <1234044437.4276.8.camel@radscorpion> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: what RAID levels does GRUB2 support? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 22:07:11 -0000 Dnia 2009-02-01, nie o godzinie 09:19 +0100, Felix Zielcke pisze: > Am Sonntag, den 01.02.2009, 01:48 +0000 schrieb Dave Abrahams: > > > Sooo... > > > > * Will GRUB2 boot a linux system from RAID5 without a separate /boot partition? > > This should work yes. > > > * Has anyone posted a HOWTO about that? > > > > I tried and failed to configure such a system. I wouldn't mind being the first > > to write such a HOWTO if I could get some handholding from this group :-) > > There shouldn't be anything special needed. Just make your RAID 5 and > then do: grub-install "md0" > in case /dev/md0 is your RAID5 and then GRUB2 gets installed onto every > disk in the MBR. > Yet another RAID related question, I decided to try out RAID partitions (using grub svn versions), basically I've such disk layout: md0: (RAID10 on 2 of 3 disks - /dev/sda1, /dev/sdb1) md0p1 - ext2, /boot md0p2 - reiserfs, / md0p3 - LVM2 Grub-mkconfig worked as expected detecting: menuentry "GNU/Linux, linux 2.6.28.3" { insmod raid mdraid set root=(md0p1) linux /vmlinux-2.6.28.3 root=/dev/md0p2 ro } However grub-install /dev/(md0 | /dev/md0p1 | /dev/sda | /dev/sdb) throw some errors(every time the same): grub-probe: error: no mapping exists for `md0p1' Auto-detection of a filesystem module failed. Please specify the module with the option `--modules' explicitly. I tried using --modules="raid mdraid" but it didn't help much: grub-probe: error: no mapping exists for `md0p1' error: We don't support multiple metadata areas Invalid device `md0'. Try ``grub-setup --help'' for more information. Error about multiple metadata is something which I reported here before (related to LVM) but it doesn't really matter since grub isn't installed at all (well, I suppose so at least). Is there any trick to make it work or is partitioned raid support still work in progress ?