[CentOS] CentOS 6.2 software raid 10 with LVM - Need help with degraded drive and only one MBR

Digimer linux at alteeve.com
Fri Mar 2 14:48:53 EST 2012


On 03/02/2012 02:39 PM, Digimer wrote:
> On 03/02/2012 01:01 PM, m.roth at 5-cent.us wrote:
>> Digimer wrote:
>> <snip>
>>> Boot from a live CD using the CentOS 6.2 install media. Once booted:
>>>
>>> <bash># grub
>>> <grub> root (hd0,0)
>>> <grub> setup (hd0)
>>> <grub> root (hd1,0)
>>> <grub> setup (hd1)
>>> <grub> root (hd2,0)
>>> <grub> setup (hd2)
>>> <grub> quit
>>> <bash># reboot
>>>
>>> This assumes that grub sees the drives at '0, 1 and 2' and the boot
>>> partition is the first on each drive. If it is, when you type 'root
>>> (hdX,0)' it should report that a file system was found. The 'setup
>>> (hdX)' will tell grub to write the MBR to the specified disk.
>>
>> THANK YOU! I could have used that once or twice, and had no idea that grub
>> could create a std. MBR.
>>
>>         mark
> 
> I've run into this a few times now where RAID'ed /boot doesn't have the
> MBR written to all members. I've now gotten into the habit of running
> this after OS install. I should file a bug with upstream...
> 

https://bugzilla.redhat.com/show_bug.cgi?id=799501

-- 
Digimer
E-Mail:              digimer at alteeve.com
Papers and Projects: https://alteeve.com


More information about the CentOS mailing list