linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Cc: "Lars Täuber" <taeuber@bbaw.de>, linux-raid@vger.kernel.org
Subject: Re: grub2/grub-pc install not possible on mdadm
Date: Fri, 02 Mar 2012 09:24:15 +0000	[thread overview]
Message-ID: <4F5091BF.1000102@anonymous.org.uk> (raw)
In-Reply-To: <4F508EB6.2030101@profihost.ag>

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-03-02  9:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28  9:10 grub2/grub-pc install not possible on mdadm Stefan Priebe - Profihost AG
2012-03-01 10:10 ` Jes Sorensen
2012-03-01 10:25   ` Stefan Priebe - Profihost AG
2012-03-01 10:38     ` Jes Sorensen
2012-03-02  8:44       ` Stefan Priebe - Profihost AG
2012-03-02  9:06         ` Lars Täuber
2012-03-02  9:11           ` Stefan Priebe - Profihost AG
2012-03-02  9:24             ` John Robinson [this message]
2012-03-02  9:33               ` Stefan Priebe - Profihost AG
2012-03-02 11:14                 ` John Robinson
2012-03-02 13:15                   ` Stefan Priebe - Profihost AG
2012-03-02 13:45                     ` John Robinson
2012-03-02 15:32                     ` Lars Täuber
2012-03-05  7:50                       ` Stefan Priebe - Profihost AG
2012-03-05  9:38                         ` John Robinson
2012-03-05 10:14                           ` Lars Täuber
2012-03-05 11:31                             ` John Robinson
2012-03-05 11:38                               ` Lars Täuber
2012-03-05 12:34                                 ` John Robinson
2012-03-02  9:14           ` Lars Täuber
2012-03-02  9:15           ` Lars Täuber
2012-03-02 10:56         ` Jes Sorensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F5091BF.1000102@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=s.priebe@profihost.ag \
    --cc=taeuber@bbaw.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).