[CentOS] Autodetecing RAID members upon boot... need to update initrd?
tnelson at rockbochs.com
Mon Nov 10 20:51:16 UTC 2008
I wanted to MaKe and INITRD and you sent me to check out MKINITRD. How thoughtful... :-)
Kidding aside, I appreciate the suggestion. I checked it out and simply ran a 'mkinitrd --with=sata_sil /path/to/newinitrd <kernel>' and rebooted. When grub popped up, I edited the initrd line to reflect the new initrd. It worked like a charm. I've since updated the grub.conf permanently and everything works as expected when rebooted.
Thanks again for the pointers.
In the future, when upgrading the kernel, will future initrd's be built with my current modules or will I have to manually create new initrd's after each update?
----- "nate" <centos at linuxpowered.net> wrote:
> Tim Nelson wrote:
> > If my assumptions are correct, the onboard drives are detected
> first, then
> > the arrays assembled, and after the system has passed control from
> > initrd to boot, THEN the addon controller is detected and hence the
> > drive (sdc). If I am correct, then I need to update my initrd for
> the system
> > to see and use that third drive during the boot process. Can anyone
> lend a
> > few tips or pointers on how to proceed? I essentially need the
> > driver to be included in the initrd.
> Check the man page for mkinitrd, it's pretty self explanatory. I
> you back up the existing initrd first, just in case there's a
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS