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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/03/2012 09:11, Stefan Priebe - Profihost AG wrote:
Am 02.03.2012 10:06, schrieb Lars Täuber:
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.

Unless you are using IMSM or another BIOS-readable RAID, you ought to be creating partition tables on all your drives, installing GRUB into the bios-grub partitions, and building arrays from the rest of the partitions (typically a RAID-1 /boot and any level you like for the rest; I use RAID-10 for swap and on two drives RAID-10,f2 for the root).

Cheers,

John.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux