From: Felix Zielcke <fzielcke@z-51.de>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: grub-setup: error: no mapping exists for ... in GRUB2 v1.97.1 on fake (IMSM) RAID
Date: Mon, 28 Dec 2009 11:47:30 +0100 [thread overview]
Message-ID: <1261997250.3183.13.camel@fz.local> (raw)
In-Reply-To: <714466.91538.qm@web88207.mail.re2.yahoo.com>
Am Sonntag, den 27.12.2009, 17:50 -0800 schrieb Lapohos Tibor:
> 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
You're problem is that you're using metadata 1.x and not the older
default 0.90. Which we don't support yet.
I made a Baazar branch for metadata 1.x support, but it's still broken.
At least RAID != 1.
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.
If you want to try it nevertheless:
bzr co http://bzr.savannah.gnu.org/r/grub/people/fzielcke/raid
> (hd0) /dev/md126
>
> in the device.map file and then issue
>
> > grub-install --modules=raid /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'
device.map isn't used at all for mdraid devices.
> 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,
> under certain circumstances, definitely be detected. Nevertheless,
> grub-install does not seem to behave the same way.
(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.
--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
next prev parent reply other threads:[~2009-12-28 10:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4877c76c0912271626y53901c10wec9909f2cc9b264b@mail.gmail.com>
2009-12-28 1:50 ` grub-setup: error: no mapping exists for ... in GRUB2 v1.97.1 on fake (IMSM) RAID Lapohos Tibor
2009-12-28 10:47 ` Felix Zielcke [this message]
2010-01-04 4:29 ` Lapohos Tibor
2010-01-04 9:23 ` Felix Zielcke
2010-01-05 16:18 ` Lapohos Tibor
2010-01-01 12:24 ` Robert Millan
2010-01-04 4:31 Lapohos Tibor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1261997250.3183.13.camel@fz.local \
--to=fzielcke@z-51.de \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.