From: Wojciech Pyczak <nissarin@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: what RAID levels does GRUB2 support?
Date: Sat, 07 Feb 2009 23:07:17 +0100 [thread overview]
Message-ID: <1234044437.4276.8.camel@radscorpion> (raw)
In-Reply-To: <1233476393.3427.1.camel@fz.local>
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 ?
next prev parent reply other threads:[~2009-02-07 22:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-09 8:12 what RAID levels does GRUB2 support? Tomasz Chmielewski
2008-10-09 8:28 ` Felix Zielcke
2009-02-01 1:48 ` Dave Abrahams
2009-02-01 8:19 ` Felix Zielcke
2009-02-07 22:07 ` Wojciech Pyczak [this message]
2009-02-08 8:48 ` Felix Zielcke
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=1234044437.4276.8.camel@radscorpion \
--to=nissarin@gmail.com \
--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.