Grub in RHEL6 with RAID1?

Tom H tomh0665 at gmail.com
Fri Jan 7 01:26:47 UTC 2011


On Thu, Jan 6, 2011 at 9:45 AM, Philip Juels <juels at photodiagnostic.com> wrote:
> On Wed, Jan 5, 2011 at 2:43 PM, Tom H <tomh0665 at gmail.com> wrote:
>> On Wed, Jan 5, 2011 at 2:28 PM, David C. Miller <millerdc at fusion.gat.com>
>> wrote:
>> >
>> > Today I installed RHEL6 on system where I setup a RAID1
>> > for the / partition. There is no separate /boot. When it
>> > came to the screen that asked where the grub boot loader
>> > would be installed it selected /dev/sda. Obviously I want
>> > the boot loader installed on both drives in case sda fails
>> > the system will still boot. Under RHEL5 I would pick
>> > /dev/md0 and it would install a MBR on both drives.
>> > However, I tried that now and the system won't boot. So
>> > I booted the rescue disk and attempted to install grub
>> > manually. I have done this probably a dozen times in the
>> > past with no issues at all. I simply run grub. I typed in
>> > "root (hd0,0)" and hit return but this time it says
>> > filesystem type unknown. It is the default ext4 RHEL put
>> > on the Linux auto RAID partition. How do I properly load
>> > grub to the master boot record on both of these drives?
>> > How do you manually install grub to drive that has ext4 on it?
>>
>> I had the same problem with F14 two days ago so there must be an
>> Anaconda-grub bug. :(
>>
>> I did:
>> grub> device (hd0) /dev/sda
>> grub> root (hd0,0)
>> grub> setup (hd0)
>> ...

> Anyone know how to pass the "--metadata=0.90" option when creating RAID
> mirrors in kickstart?

No metadata option in:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html

(OT but for the record: on the F14 box that I refer to above I just
have "/" and the above worked with metadata 1.0 so there's been a
change between F12/F13 and F14 that we've missed out on with RHEL6.)




More information about the redhat-list mailing list