# Re: grub2/grub-pc install not possible on mdadm

- From: John Robinson \<hidden\>
- Date: 2012-03-05 12:34:23 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2012/03/6619152
- Thread: https://ratatoskr.run/linux-raid/2012/02/6619095/t.md

```text
On 05/03/2012 11:38, Lars Täuber wrote:
> Am Mon, 05 Mar 2012 11:31:54 +0000
> John Robinson[ref]  schrieb:
>>> You mean if Stefan would have used an old fashioned partition table
>>> inside a Linux SW-RAID with metadata 1.2, grub would have booted like
>>> normal?
>>
>> Yes, both grub2 and grub legacy (0.97) read partition tables. Only grub2
>> can really read inside RAID arrays - any metadata, any RAID level - [...]
>
> Does grub2 also read partitions inside SW-RAID if the RAID consists of
> partitions?
> How deep works this mechanism?
>
> DISK =>  partitions =>  RAID =>  partition table =>  RAID =>  ....

I don't know. I'm sure DISK => partitions => RAID => partitions will work - that's what I was suggesting Stefan should do to use 1.2 metadata. You can have LVM in the mix too. Oh and don't forget the filesystem right at the end. It may be possible to get it to support multi-level RAID but I haven't tried - I try to keep it simple with DISK => partition => RAID-1 => ext2; it's enough bother getting all the other mess taken care of in the initrd and Linux, without doing it in GRUB too!

Cheers,

John.
--
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
```
