linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* getting a linux boot loader (preferably grub) installed on an intel imsm raid
@ 2010-08-19  4:56 K. Posern
  2010-08-19 17:49 ` Jiang, Dave
  0 siblings, 1 reply; 10+ messages in thread
From: K. Posern @ 2010-08-19  4:56 UTC (permalink / raw)
  To: linux-raid@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 2606 bytes --]

Hi all,

/// The problem ///

There are binary packages out there that do the trick based on 
device-mapper (dmraid) (e.g. Ubuntu). But I would like to do it

	a) manually (because thats why I use Linux, because you can do things 
manually and you can learn a lot (even if you don't succeed in the end)

	b) based on mdadm-imsm. Just there seems really /no/ documentation out 
there on how to do it (or I successfully managed to google around it 
since days now ;).

I will be very glad for any bit of information that might help me to 
eliminate some of the below parameters.
And Again: I would be more than glad to contribute (back to the 
community) by assembling a wiki page about all this, once I figured out 
all the bits and pieces.

//// The situation ///

I am still trying to figure out how to install grub / grub2 on my intel 
imsm raid. And it's a striping RAID-0. Because the documentation out 
there is overall for RAID-1 (or 5) and the few bits I found for RAID-0, 
just do not work for me.

/// The questions ///

Maybe someone could shed some light on these open questions:

	a) Do I need to install it to the Volumne (/dev/md126) or to the 
Container (/dev/md127)? - My guess: The volume because it represents the 
RAID, hence should be what gets assembled for the int13 BIOS handler by 
the Option-ROM of the intel-sw-raid-controller.

	b) What device do I need to put in the /grub/boot/device.map file as (hd0):
	(/dev/md126, /dev/md127 or ...)?
	My guess: The same like a).

	c) Do you suggest grub1 (grub legacy) or grub2?

	    *** For grub2: The default way to install it: grub-install does not 
(seem to) work as grub2 then tries to find the /boot device itself and 
grub built from bzr does not (yet) support mdadm arrays with metadata 
v1.2 that are partitioned :(
	As I am quiet new to grub2 it would be very helpful to get an idea of 
what of the (many) tools to use and if possible with what parameters.
	Plus I wonder if with grub2 there will be problems because grub2 will 
try to assemble the RAID itsself.

	    *** For grub: I did quiet some installations but all my trials did 
always end in an Error 22 on "setup (hd0)" in the grub shell. <<< If 
grub would be your recommendation I can post the details!


Thanks a lot for any hint in advance!


K. Posern

P.S.: I would be still interested to hear how the two solutions that 
support an intel BIOS-supported (mdadm-imsm >=v3 and dmraid >=v1) raid 
compare to each other in terms of: speed (throughput), load/overhead 
(cpu/ram), stability, features.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3644 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: getting a linux boot loader (preferably grub) installed on an intel imsm raid
@ 2010-08-21  7:53 gabe peters
  2010-08-21 20:44 ` K. Posern
  0 siblings, 1 reply; 10+ messages in thread
From: gabe peters @ 2010-08-21  7:53 UTC (permalink / raw)
  To: linux-raid

It's my first time using a mailing list in many years, hopefully i've
got this threaded properly. (Intended as a reply to "Jiang, Dave" and
"K. Posern")

I've got an intel MSM RAID0 set up nearly identical to K. Posern, my
differences are that i'm using an older revision controller (lspci
shows revision 02) - the 4 SATA drives are SSDs (though that shouldn't
matter), the imsm container is set up as /dev/md127 and the raid
volume (RAID-0) as /dev/md126. I am able to successfully read and
write from all partitions on the RAID-0 (I set up windows 7 on another
partition prior to attempting to get the linux partition(s) bootable)

Aside from the differences in the partition table, all errors I'm
receiving are the same. Running under Gentoo using the svn -9999
ebuild for grub2 (also tried grub in multiple ways receiving the same
error 22 message)

Incidental to the errors, my motivation to run with this configuration
is to maintain a dual boot with Windows 7 x64 Ultimate. I previously
had an mdadm software raid set up (RAID-1 /boot and RAID-0 /) which I
had no problem booting up with. But ideally i'd like to be able to use
Grub/Grub2 as the bootloader, and load both linux (Gentoo multilib
x86_64) and Windows 7 x64 from the RAID-0.

Any insight will be welcome, I suppose this message amounts to nothing
more than a simple "me, too!" though!

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-08-21 20:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19  4:56 getting a linux boot loader (preferably grub) installed on an intel imsm raid K. Posern
2010-08-19 17:49 ` Jiang, Dave
2010-08-19 18:32   ` K. Posern
2010-08-19 21:40     ` Jiang, Dave
2010-08-19 22:29       ` K. Posern
2010-08-19 22:44         ` Jiang, Dave
2010-08-20  0:46         ` Jiang, Dave
2010-08-20  1:15           ` K. Posern
  -- strict thread matches above, loose matches on Subject: below --
2010-08-21  7:53 gabe peters
2010-08-21 20:44 ` K. Posern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).