Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NP4kv-0003b2-3O for mharc-grub-devel@gnu.org; Sun, 27 Dec 2009 20:50:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NP4kt-0003Zw-8N for grub-devel@gnu.org; Sun, 27 Dec 2009 20:50:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NP4kn-0003ZA-4w for grub-devel@gnu.org; Sun, 27 Dec 2009 20:50:41 -0500 Received: from [199.232.76.173] (port=49774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP4km-0003Z0-Sx for grub-devel@gnu.org; Sun, 27 Dec 2009 20:50:36 -0500 Received: from n10.bullet.re3.yahoo.com ([68.142.237.123]:44584) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NP4km-0008KB-Q9 for grub-devel@gnu.org; Sun, 27 Dec 2009 20:50:37 -0500 Received: from [68.142.237.89] by n10.bullet.re3.yahoo.com with NNFMP; 28 Dec 2009 01:50:36 -0000 Received: from [66.196.114.22] by t5.bullet.re3.yahoo.com with NNFMP; 28 Dec 2009 01:50:35 -0000 Received: from [127.0.0.1] by omp309.mail.re3.yahoo.com with NNFMP; 28 Dec 2009 01:50:35 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 929971.54170.bm@omp309.mail.re3.yahoo.com Received: (qmail 96795 invoked by uid 60001); 28 Dec 2009 01:50:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s1024; t=1261965035; bh=q2o7SqZa7ZxzeKzNQwk6/5TuIiTGMFkDKoFGsADwa5w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=I6OQRSskebAdNT/3pIlsh2jsiCjbop0o4xYk1oLJbgOniivVoBJwt1mNKj9hPDBMXBbgpHNaNMn+6IgBPxrXGgVBnxszLAZ5g0PryGHRitRzYCKuzHVGTj2tq5N+hS89MvB5oUY4bPdBEJgNZ+Im6DQCEYHdnHN8aKk6BTtXHqU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=S7Kd/Qz7WkX7uLVXsMNCq6hXVQGeT7yHkZJKGcIBgHhE1u0iQf25bhSjNqXIb9CcL9IV0S06jnUK+NIo22wEjC7SnMIaG3qCBF5tfzpfmK3UzeJ6Wz7GJaK6reAMNurwykCuF50CUFXICvb3RHtymusHqxnh5eJEWFB3cvSepoo=; Message-ID: <714466.91538.qm@web88207.mail.re2.yahoo.com> X-YMail-OSG: 6hNkKtMVM1k8qkKMNfNiN6UwvNmAHbGHcXGHCVPUkrPGVWGyyIibyV9JsKT6WLvQVmDN1yERqHvchYcry_sZz_pVPXUr94fgjxwWckCYneUa2ZX4o7n4T_wPofeOdK8oLYhX.EDanyMnCalBeM1jv9oEo1LY.o70u9KDtDPqwXO.cueftevWPmPZQJ4zGcUUkk9gzRaj9WMwBbm5wryen8Fz3_dWb4HSPbvDkN.Ymmt2CqkWfUpM.hlrcZCH4CcOSVfvdD456jwRhokf1tZo58dkHItzhDrHBBjhMlOvjWx1Wd1Hd6dEczkrP.SuFwo8GQUICem9nvFymofNOKobEpiVU.N5ryFWrKnFfgar3S81Tu3tk0K2WYMVtK5QG5VIZiK13rX9LUQogGMWk.4Ld0AfGQcyM4Lbc4zMD7HoCI6PsrvKBID4.bOMms95TpTXujwgoKzuAfLJZC..bQ9t4jib._l4qmFDoLd9Udg- Received: from [99.224.176.102] by web88207.mail.re2.yahoo.com via HTTP; Sun, 27 Dec 2009 17:50:35 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Sun, 27 Dec 2009 17:50:35 -0800 (PST) From: Lapohos Tibor To: Michael Evans In-Reply-To: <4877c76c0912271626y53901c10wec9909f2cc9b264b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1091336333-1261965035=:91538" X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) Cc: help-grub@gnu.org, grub-devel@gnu.org 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, 28 Dec 2009 01:50:43 -0000 --0-1091336333-1261965035=:91538 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for your reply. =A0 What the OROM says is that both of my volumes are bootable.=20 /dev/md126 corresponds to Volume0, and its first partition (ext4) has the b= oot flag set. =A0 My problem is that I cannot get grub2 installed on the device at all. I did= try, as you suggested, to set =A0 (hd0) /dev/md126 =A0 in the=A0 device.map file and then issue =A0 > grub-install --modules=3Draid /dev/md126 =A0 but I still get the same error message(s): =A0 grub-probe: error: no mapping exists for 'md126' grub-setup: error: no mapping exists for 'md126' =A0 What is interesting is that, at the grub shell, I can do =A0 grub> probe -l (hd0,1) =A0 it returns "OS" which is the label I set for it, so the device can, under c= ertain circumstances, definitely be detected. Nevertheless, grub-install do= es not seem to behave the same way. =A0 Thanks, Tibor --- On Sun, 12/27/09, Michael Evans wrote: From: Michael Evans Subject: Re: grub-setup: error: no mapping exists for ... in GRUB2 v1.97.1 = on fake (IMSM) RAID To: "Lapohos Tibor" Cc: help-grub@gnu.org Date: Sunday, December 27, 2009, 7:26 PM On Sat, Dec 26, 2009 at 5:33 AM, Lapohos Tibor w= rote: Hello All, =A0 I have 2 SATA disks in an Intel Matrix RAID setup. It contains two volumes,= one in RAID1, the other in RAID0 configuration. These I created using the = Option ROM of the motherboard,=A0 partitioned using cfdisk, and finally ass= embled into RAID devices using mdadm v3.0.3. As such, I obtained the follow= ing devices: =A0 /dev/md127 (the container to which /dev/md/imsm0 is pointing) /dev/md126 (the RAID1 "Volume0" pointed at by /dev/md/Volume0) /dev/md126p1 (the first partition intended to serve as the root fs) /dev/md126p2 (intended for user space) /dev/md126p3 (intended for swap) /dev/md125 (the RAID0 "Volume1" pointed at by /dev/md/Volume1) /dev/md125p1 (intended for user scratch space) /dev/md125p2 (itended for swap) =A0 (the long names came from mdadm v 3.0.3). =A0 If I boot from my USB memory stick, and make a stop at the=A0grub shell, I = can see all these partitions listed as (hd1) (hd1,[123]), (hd2)=A0and (hd2,= [12]), while my USB stick comes up under (hd0) and (hd0,[12]). Therefore, I= would dare to say that grub does detect these devices. =A0 I tried to install grub 1.97.1 on /dev/md126=A0by countless ways without su= ccess. The command =A0 $ grub-install=A0--modules=3Draid /dev/md126=A0 =A0 for example returns the error message =A0 $ grub-setup: error: no mapping exists for "md126" =A0 The /boot/grub folder got created correctly, but the "device.map" file does= not mention any virtual RAID devices. It reads: =A0 (hd0) /dev/sda (SATA1) (hd1) /dev/sdb (SATA2) (hd2) /dev/sdc (USB flash memory stick) =A0 which, by the way, does not resemble what the=20 sh: grub> ls command returns before booting (see the list described before). =A0 Do I need to give up using "fake RAID" and turn to pure SW RAID to get the = system up and running, or is there a way to install GRUB2 in this configura= tion? =A0 Your help is much appreciated. Thanks ahead, Tibor =A0 _______________________________________________ Help-grub mailing list Help-grub@gnu.org http://lists.gnu.org/mailman/listinfo/help-grub If you -know- that given drives will be in some positions during startup th= en you can edit the device.map file your self to tell grub where things wil= l be on reboot. You should only provide the containers; however a very important question e= xists.=A0 Are you able to select one of those containers as your boot volum= e within the bios?=A0 If so make it like that and tell grub that the volume= is 'hd0' instead of /dev/sda.=A0 Then you can do the usual setup/install a= nd it should work when using that device.map. -----Inline Attachment Follows----- _______________________________________________ Help-grub mailing list Help-grub@gnu.org http://lists.gnu.org/mailman/listinfo/help-grub --0-1091336333-1261965035=:91538 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks for your reply.
 
What the OROM says is that both of my volumes are bootable.
/dev/md126 corresponds to Volume0, and its first partition (ext4) has = the boot flag set.
 
My problem is that I cannot get grub2 installed on the device at all. = I did try, as you suggested, to set
 
(hd0) /dev/md126
 
in the  device.map file and then issue
 
> grub-install --modules=3Draid /dev/md126
 
but I still get the same error message(s):
 
grub-probe: error: no mapping exists for 'md126'
grub-setup: error: no mapping exists for 'md126'
 
What is interesting is that, at the grub shell, I can do
 
grub> probe -l (hd0,1)
 
it returns "OS" which is the label I set for it, so the device can, un= der certain circumstances, definitely be detected. Nevertheless, grub-insta= ll does not seem to behave the same way.
 
Thanks,
Tibor

--- On Sun, 12/27/09, Michael Evans <mjevans1983= @gmail.com> wrote:

From: Michael Evans <mjevans1983@gmail.com>=
Subject: Re: grub-setup: error: no mapping exists for ... in GRUB2 v1.9= 7.1 on fake (IMSM) RAID
To: "Lapohos Tibor" <tibor.lapohos@rogers.com= >
Cc: help-grub@gnu.org
Date: Sunday, December 27, 2009, 7:26 PM
On Sat, Dec 26, 2009 at 5:33 AM, Lapohos Tibor <tibor.lapohos@rogers.com> wrote:
Hello All,
 
I have 2 SATA disks in an Intel Matrix RAID setup. It contains two vol= umes, one in RAID1, the other in RAID0 configuration. These I created using= the Option ROM of the motherboard,  partitioned using cfdisk, and fin= ally assembled into RAID devices using mdadm v3.0.3. As such, I obtained th= e following devices:
 
/dev/md127 (the container to which /dev/md/imsm0 is pointing)
/dev/md126 (the RAID1 "Volume0" pointed at by /dev/md/Volume0)
/dev/md126p1 (the first partition intended to serve as the root fs)
/dev/md126p2 (intended for user space)
/dev/md126p3 (intended for swap)
/dev/md125 (the RAID0 "Volume1" pointed at by /dev/md/Volume1)
/dev/md125p1 (intended for user scratch space)
/dev/md125p2 (itended for swap)
 
(the long names came from mdadm v 3.0.3).
 
If I boot from my USB memory stick, and make a stop at the grub s= hell, I can see all these partitions listed as (hd1) (hd1,[123]), (hd2)&nbs= p;and (hd2,[12]), while my USB stick comes up under (hd0) and (hd0,[12]). T= herefore, I would dare to say that grub does detect these devices.
 
I tried to install grub 1.97.1 on /dev/md126 by countless ways wi= thout success. The command
 
$ grub-install --modules=3Draid /dev/md126 
 
for example returns the error message
 
$ grub-setup: error: no mapping exists for "md126"
 
The /boot/grub folder got created correctly, but the "device.map" file= does not mention any virtual RAID devices. It reads:
 
(hd0) /dev/sda (SATA1)
(hd1) /dev/sdb (SATA2)
(hd2) /dev/sdc (USB flash memory stick)
 
which, by the way, does not resemble what the
sh: grub> ls
command returns before booting (see the list described before).
 
Do I need to give up using "fake RAID" and turn to pure SW RAID to get= the system up and running, or is there a way to install GRUB2 in this conf= iguration?
 
Your help is much appreciated. Thanks ahead,
Tibor
 

_______________= ________________________________
Help-grub mailing list
Help-grub@gnu.org<= /A>
http://lists.gnu.org/mailman/listinfo/help-grub<= BR>
If you -know- that given drives will be in some p= ositions during startup then you can edit the device.map file your self to = tell grub where things will be on reboot.

You should only provide th= e containers; however a very important question exists.  Are you able = to select one of those containers as your boot volume within the bios? = ; If so make it like that and tell grub that the volume is 'hd0' instead of= /dev/sda.  Then you can do the usual setup/install and it should work= when using that device.map.

-----Inline Attachment Follows-----
_______________________________________________
H= elp-grub mailing list
Help-grub@g= nu.org
http://lists.gnu.org/mailman/listinfo/help-grub
--0-1091336333-1261965035=:91538--