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

From
Stefan Priebe - Profihost AG <hidden>
Date
2012-03-02 09:33:54
Reply to
John Robinson, 2012-03-02
Am 02.03.2012 10:24, schrieb John Robinson:
On 02/03/2012 09:11, Stefan Priebe - Profihost AG wrote:
quoted
Am 02.03.2012 10:06, schrieb Lars Täuber:
quoted
quoted
Correct that's why i've also tried to install it on sda / sdb but then
grub complains about not finding any partition table.
do you have a partition table inside the raid?
This will not work I expect. The kernel might find the partition
table but
grub?

Or do you have no partition table at all and a filesystem directly on
the
raid device?
No partition table on sda / sdb. Partition table is on md127. This
scenario works fine with metadata 0.9. And as far as i understand it
should work with 1.2 too.
No, I don't think it should - 1.2's metadata is offset 4K into the
component devices and the data starts later, at 1M or so. That means
that the BIOS can't find the partition table where it expects to. Using
1.0, which has its data right at the beginning and metadata at the end,
might work if 0.90 does. It's still not 100% because a UEFI BIOS isn't
going to find the backup GPT partition table where it ought to.
Maybe i'm wrong here. But shouldn't this get handled by the raid1x
module of grub? So grub installs at the bootsector of sda / sdb and then
reads the correct data? Like it does with 0.9 metadata?

Stefan
--
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
Thread (22 messages) 22 messages, 4 authors, last reply 2012-03-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help