On Sat, Mar 27, 2010 at 2:16 AM, Piergiorgio Sartor
<piergiorgio.sartor@nexgo.de> wrote:
I forget the commands, but the key thing for grub2 is stuffing all of
the modules you need in to a single loadable image, and invoking the
grub2 install command to embed THAT image. It's then supposed to
deduce the blocks on disk that the image occupies and load it. That
should work for raid1 and cases where the image is on a single real
device. I don't know how it would cope with possibly bios-shuffled
real devices though. I suspect supporting that wouldn't be worth it.
In any event, the 4k offset code is still useful for raid 1 arrays,
and supporting secondary MBR points that can be chained by grub/other
bootloaders when combined with partitioning. It MAY also work if you
create the file just right and it's either beneath the chunk size, or
structured in such a way that it's duplicated (redundantly) across all
of the data devices; however even then you'd need to examine the raw
device and map out the parity block; it should wind up as two load
segments though. Such support is just one potential solution, not
something I'd expect to exist at this moment.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html