From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Robinson Subject: Re: grub2/grub-pc install not possible on mdadm Date: Fri, 02 Mar 2012 09:24:15 +0000 Message-ID: <4F5091BF.1000102@anonymous.org.uk> References: <4F4C9A11.9060302@profihost.ag> <4F4F4B1D.4050000@redhat.com> <4F4F4EB3.6030909@profihost.ag> <4F4F519E.7040206@redhat.com> <4F508864.4050600@profihost.ag> <20120302100648.fe4e725f2e98880c839357b0@bbaw.de> <4F508EB6.2030101@profihost.ag> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4F508EB6.2030101@profihost.ag> Sender: linux-raid-owner@vger.kernel.org To: Stefan Priebe - Profihost AG Cc: =?UTF-8?B?TGFycyBUw6R1YmVy?= , linux-raid@vger.kernel.org List-Id: linux-raid.ids On 02/03/2012 09:11, Stefan Priebe - Profihost AG wrote: > Am 02.03.2012 10:06, schrieb Lars T=C3=A4uber: >>> Correct that's why i've also tried to install it on sda / sdb but t= hen >>> 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 tab= le but >> grub? >> >> Or do you have no partition table at all and a filesystem directly o= n 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=20 component devices and the data starts later, at 1M or so. That means=20 that the BIOS can't find the partition table where it expects to. Using= =20 1.0, which has its data right at the beginning and metadata at the end,= =20 might work if 0.90 does. It's still not 100% because a UEFI BIOS isn't=20 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 b= e=20 creating partition tables on all your drives, installing GRUB into the=20 bios-grub partitions, and building arrays from the rest of the=20 partitions (typically a RAID-1 /boot and any level you like for the=20 rest; I use RAID-10 for swap and on two drives RAID-10,f2 for the root)= =2E Cheers, John. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html