From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L80Gl-0000gK-Sb for mharc-grub-devel@gnu.org; Wed, 03 Dec 2008 17:32:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L80Gj-0000gF-Kt for grub-devel@gnu.org; Wed, 03 Dec 2008 17:32:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L80Gi-0000g3-7z for grub-devel@gnu.org; Wed, 03 Dec 2008 17:32:28 -0500 Received: from [199.232.76.173] (port=56355 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L80Gi-0000g0-1Y for grub-devel@gnu.org; Wed, 03 Dec 2008 17:32:28 -0500 Received: from ey-out-1920.google.com ([74.125.78.149]:19828) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L80Gh-0007qj-GC for grub-devel@gnu.org; Wed, 03 Dec 2008 17:32:27 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1690650eyg.24 for ; Wed, 03 Dec 2008 14:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HSKCyGpo0fHk/MofocZfpFNl9lfLDzB1EqMFCbkWXyk=; b=HRndgBev6SapmWzF6H9s5XUpgZWp6FvrBhfx+3C8nJFSIAKtd05RX7zN56bjTmSIQT zeBTHcZGCBQgc7N63H793r4oZEZqYoolZu5eDfAmc0D7PU1pJ3q6w953J5qey9iv8A9U GWH++HIb7wr1ufb3seqtNL7Ja5JUMvdYAuCrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=hOyhgHWR8SuvSKvyysZYqMYaTI98igruTT41dn0KBjqucBmwsCBcJULOQxnjAWLOuL kfj2dLCfhwZxD1jfckVIWG7JH5BBwkv3bkgsKAh4jOzm17dJ5Jn66Q8WQM8OJf8ecvI7 td/YVz1DukReo7R45E5fA+qWyA0+GDrOdbihI= Received: by 10.86.70.3 with SMTP id s3mr8266562fga.78.1228343545121; Wed, 03 Dec 2008 14:32:25 -0800 (PST) Received: from ?91.189.141.21? (host-141-21.jkns.pl [91.189.141.21]) by mx.google.com with ESMTPS id l12sm5148833fgb.15.2008.12.03.14.32.23 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Dec 2008 14:32:24 -0800 (PST) Message-ID: <493708F9.4000704@gmail.com> Date: Wed, 03 Dec 2008 23:32:25 +0100 From: Wojciech Pyczak User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); pl; rv:1.9.1b1pre) Gecko/20081006 Shredder/3.0a3 MIME-Version: 1.0 To: The development of GRUB 2 References: <492B500A.8050506@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: LVM & RAID10 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: Wed, 03 Dec 2008 22:32:29 -0000 >> (...)The only clue I have is >> (completly mysterius to me) error message: "We don't support multiple >> metadata areas". >> > > Hi, > > This error come from lvm, perhaps you can try raid10 first. > > I played a bit when I had free time and... - I learned to ignore grub error messages :D - RAID10 seems to work OK - LVM @ RAID10 @ single partition (on each disk) results in above error message but if I add small partition (so there are 2 partitions per disk) there is no error. I tried with different number of LVs, different LV names, anything.. could it be some error in grub after all ? Anyway even if there is no such error grub doesn't work - it appers that core.img doesn't include LVM module (I tried to specify it manually) or just doesn't install at all, of course grub-setup return some error (unknown root device or something..) but in the other hand I saw the same error with root filesystem on RAID device and it actually worked. There is also another problem: when I installed grub on single HD with LVM module in core.img, I couldn't see any LVM devices in the system (only hdX, mdX..), I saw something similar on some mailing list (debian ?) - removing LVM module then inserting it again fixed that problem, however in my case it didn't worked. I'm thinking about installing grub by hand, i.e. creating core.img and copying it along with boot.img after mbr, will that work ? (I just want to bypass grub-setup). > > Yes, it should work out of the box, although there is a small catch. > If you're using raid5/raid6 and one/two of the disk is missing or > corrupted, you need to add module raid5rec/raid6rec using the --module > option in grub-install. > Just curiosity - why it's in separate modules ?