Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NRj9x-000142-TJ for mharc-grub-devel@gnu.org; Mon, 04 Jan 2010 04:23:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRj9u-00012d-Br for grub-devel@gnu.org; Mon, 04 Jan 2010 04:23:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRj9p-00011P-8n for grub-devel@gnu.org; Mon, 04 Jan 2010 04:23:29 -0500 Received: from [199.232.76.173] (port=39441 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRj9p-00011M-2J for grub-devel@gnu.org; Mon, 04 Jan 2010 04:23:25 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:58651) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRj9o-0004v2-Rm for grub-devel@gnu.org; Mon, 04 Jan 2010 04:23:25 -0500 Received: from [85.180.25.245] (e180025245.adsl.alicedsl.de [85.180.25.245]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0LnFph-1O8Cqi1bCf-00hHAO; Mon, 04 Jan 2010 10:23:21 +0100 From: Felix Zielcke To: The development of GNU GRUB In-Reply-To: <7729.57142.qm@web88207.mail.re2.yahoo.com> References: <7729.57142.qm@web88207.mail.re2.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 04 Jan 2010 10:23:20 +0100 Message-ID: <1262597000.2752.7.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.29.3.2 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/MaGzb4qK61IlIOYr1XHZU5wBi7gbO1W0T3jb zx82S3ZcX9fv/p50WBmH1WOR4PYcUFMUWwPhd8j6yzm1teIRkX 5zirmDk9/hWjGgD6oLIPg== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: grub-setup: error: no mapping exists for ... in GRUB2 v1.97.1 on fake (IMSM) RAID X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 09:23:30 -0000 Please use proper quoting. It doestn't make it easier to read if your answer is directly below my sentences without any special quoting. Am Sonntag, den 03.01.2010, 20:29 -0800 schrieb Lapohos Tibor: > > Thanks for your help. Please see my further questions below. > > Based on your input, I cannot make this work, right? > No. Probable we could implement support for the newly added metadata formats, but that's IMO very very low priority. The normal ones are more important, especially now that 1.1 became the default instead of 0.90. > I made a Baazar branch for metadata 1.x support, but it's still > broken. > At least RAID != 1. > > So it works for RAID 1, and it is "broken" for the other RAID levels? It seems so. I haven't found out why exactly yet. > But I tested RAID 1 only with grub-probe, not actual booting from it. > And it's a bit complicated to get grub-probe working, because the > devicename must macht the name stored in the superblock. > > Would I need to be able to achieve all this as I am assembling the > RAID devices? > You can also just rename the device files afterwards, but before you run grub-install or update-grub/grub-mkconfig. > If you want to try it nevertheless: > > bzr co http://bzr.savannah.gnu.org/r/grub/people/fzielcke/raid > > > Thanks, I'll give it a shot once I get a better grasp of what I'm > doing. > > > device.map isn't used at all for mdraid devices. > > But my device is not "mdraid" type device, is it? The kernel does not > detect it as it loads and starts running. The "mdraid" devices would > be formed of "fd" type partitions, would they not? > No. mdraid devices can have any partition type you want. As with any Linux filesystem etc. pp. fd has only the special meaning that Linux autoassembles them. But the prefered method is to let mdadm inside the initrd/initramfs handle it. And then it doestn't matter at all what partition type you use. /dev/mdXXX and /dev/md/XXX are all mdraid devices. As long as mdadm -Q --detail works on it. Doestn't matter what mdraid metadata you use. > > (hdX,Y) devices are normal disk devices though and not the RAID ones. > They're (mdX) and (mdX,Y) so it only works with RAID 1, but only by > using one disk of them. > > OK, I understand this. But then I must ask, how come the grub shell > (got into by booting from a usb key) lists (hdX,Y) devices for all > these "imsm" contained devices and partitions? Ok I should have written (hdx,y) devices are normal BIOS devices. > Thanks again for your help, > Tibor -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer