Re: centos 6.2 md0 boot - no boot actually - FIXED

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



On Apr 11, 2012, at 8:20 PM, Ljubomir Ljubojevic wrote:

> On 04/12/2012 12:57 AM, Patrick Lists wrote:
>> On 04/12/2012 12:46 AM, aurfalien wrote:
>>> Hi all,
>>> 
>>> Taken from this link;
>>> 
>>> https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&forum=55&order=ASC&start=0
>>> 
>>> Seems like I am having the same issue.
>>> 
>>> I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
>> 
>> Not sure if this is valid for CentOS but on Fedora 15 I had to set the
>> metadata to version 0.90 when creating the /boot array. Without it (so
>> using metadata version 1.0 on /dev/md0 aka /boot) it would not boot.
>> 
> 
> Patrick, you are spot one. This is a must, and default for CentOS is 1.2 
> I think.
> 
> There is no conversion, you can only backup data from partition on md0 
> and recreate md0 with:
> 
> mdadm --create /dev/md9 --level=1 --raid-disks=2 /dev/sdj1 /dev/sdl1 
> --metadata=0.90
> 
> return data and reinstall grub on sda AND sdb.


While this most likely works, I went a diff route.

Based on this article which is Cliff noted below, I was able to get it working.

http://bugs.centos.org/view.php?id=5400

The latest dracut fixes the issue but I rebuilt initramfs to be safe.

So my order of operation;

1 - install Centos 6.1 with a software raid 1 config then rebooted of course
2 - yum update
2 - cd /boot
3 - mv initramfs-2.6.32-220.7.1.el6.x86_64.img initramfs-2.6.32-220.7.1.el6.x86_64.img.O
4 - mkinitrd /boot/initramfs-2.6.32-220.7.1.el6.x86_64.img 2.6.32-220.7.1.el6.x86_64
5 - reboot


Hope this helps any futures comrades in arms.

- aurf
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux