Install grub on /dev/md0, CentOS 6
Re: Install grub on /dev/md0, CentOS 6
There are many components that might be involved in this problem. Off the top of my head I can think of
grub
mdadm
dracut
kernel
I suspect that all of those have been updated between 6.0 and 6.2 so narrowing down which is the culprit needs some detective work.
grub
mdadm
dracut
kernel
I suspect that all of those have been updated between 6.0 and 6.2 so narrowing down which is the culprit needs some detective work.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Install grub on /dev/md0, CentOS 6
Seems from your tests to be related to the kernel, but Trevor has a point - may need more testing. I only used 2.6.32-220.el6 - the original 6.2 kernel - so it seems to be a 6.2 issue. As far as how to file a bug - no time like the present to learn. :-) I recommend starting with [url=http://bugs.centos.org/main_page.php]a CentOS report[/url] and see if the devs think it needs to be kicked upstream, as I suspect it does. Please reference this thread in the report, and if it goes to Red Hat - they have a selection for CentOS bugs under "External Trackers" in [url=https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%206]Bugzilla[/url].
Re: Install grub on /dev/md0, CentOS 6
Thanks for all the help. The bug is posted here: http://bugs.centos.org/view.php?id=5400 . Do you guys have any idea how long fixes for these types of issues take?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Install grub on /dev/md0, CentOS 6
I removed the current dracut and dracut-kernel, and
re-installed dracut-004-32.el6.noarch and dracut-kernel-004-32.el6.noarch
from the 6.0 DVD.
Then I removed the current kernel and did a yum update kernel.
2.6.32-200.2.1 installed, and I can boot with a disconnected sda.
http://www.centos.org/modules/newbb/viewforum.php?forum=47
It looks like a dracut problem.
re-installed dracut-004-32.el6.noarch and dracut-kernel-004-32.el6.noarch
from the 6.0 DVD.
Then I removed the current kernel and did a yum update kernel.
2.6.32-200.2.1 installed, and I can boot with a disconnected sda.
http://www.centos.org/modules/newbb/viewforum.php?forum=47
It looks like a dracut problem.
Re: Install grub on /dev/md0, CentOS 6
Gerald,
To be clear, did you mean kernel '2.6.32-220.2.1' rather than '2.6.32-200.2.1?'
Eric
To be clear, did you mean kernel '2.6.32-220.2.1' rather than '2.6.32-200.2.1?'
Eric
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Install grub on /dev/md0, CentOS 6
I refered to the kernel, and later in the next sentence, to the version.
After removing the current kernel, I updated to the current kernel, and the initrd worked.
After removing the current kernel, I updated to the current kernel, and the initrd worked.
Re: Install grub on /dev/md0, CentOS 6
Gerald,
You said: "Then I removed the current kernel and did a yum update kernel.
2.6.32-200.2.1* installed, and I can boot with a disconnected sda..."
On my machine the kernel version installed is 2.6.32-220.2.1, not 2.6.32-200.2.1. It won't boot on a failed disk. If you've installed a different kernel version (2.6.32-200.2.1), a previous kernel can you really claim that dracut is the problem?
In order to segregate the problem won't you have to put the seeming problem kernel (2.6.32-220.2.1) on the machine with different versions of dracut?
Again, is this a mistype? Did you intend to put '2.6.32-220.2.1' instead of '2.6.32-200.2.1?' Or is kernel 2.6.32-200.2.1 the final version on the machine you used?
Eric
*Note: This kernel version has 200 not 220 in it as mine does.
You said: "Then I removed the current kernel and did a yum update kernel.
2.6.32-200.2.1* installed, and I can boot with a disconnected sda..."
On my machine the kernel version installed is 2.6.32-220.2.1, not 2.6.32-200.2.1. It won't boot on a failed disk. If you've installed a different kernel version (2.6.32-200.2.1), a previous kernel can you really claim that dracut is the problem?
In order to segregate the problem won't you have to put the seeming problem kernel (2.6.32-220.2.1) on the machine with different versions of dracut?
Again, is this a mistype? Did you intend to put '2.6.32-220.2.1' instead of '2.6.32-200.2.1?' Or is kernel 2.6.32-200.2.1 the final version on the machine you used?
Eric
*Note: This kernel version has 200 not 220 in it as mine does.
Re: Install grub on /dev/md0, CentOS 6
ebroch, it was a [b]typo[/b]. There is no -200 kernel for CentOS.
Re: Install grub on /dev/md0, CentOS 6
Thx much, Gerald, for clarifying!!!
Re: Install grub on /dev/md0, CentOS 6
I have this very same setup (/boot partition in /dev/md0 [raid1]) on a Dell PowerEdge 830. I had to revert back to the (2.6.32-71.29.1.el6.i686) kernel after failing to boot from the new (2.6.32-220.2.1.el6.i686) kernel. The original installed operating system is Centos 6 32 bit.
This bug seems to have been reported already at: http://bugs.centos.org/view.php?id=5381
A recommendation was made to reinstall the kernel as a solution. I think I'm going to wait this one out, for now.
This bug seems to have been reported already at: http://bugs.centos.org/view.php?id=5381
A recommendation was made to reinstall the kernel as a solution. I think I'm going to wait this one out, for now.