[ale] Choosing megaraid driver for existing install

timothy@meanor.net timothy
Wed Aug 29 17:20:03 EDT 2007


--snip--
How could I boot this system in such a way as to use LSI MEGARAID instead of LSI MEGARAID_MBOX?  The box is currently up so I?m thinking there ought to be something I could do to the kernel (recompile a new one?)  or grub that would make it recognize this as it would after a fresh install.
--snip--

You'll need to create a new initial RAM disk (initrd) using the mkinitrd command.  Do this:
1.  Update the /etc/modprobe.conf so that it has the information for LSI_MEGARAID instead of LSI_MEGARAID_MBOX

2.  cd to /boot

3.  There should be a file named initrd-<kernel version>.img , where <kernel version> is the version of the currently running kernel (i.e. the output of uname -r).  Make a backup copy of this file.

4.  Execute "mkinitrd -f initrd-<kernel version>.img <kernel version>"

For example, on my FC5 box (running kernel 2.6.20-1.2320.fc5), I did this:
cp initrd-2.6.20-1.2320.fc5.img initrd-2.6.20-1.2320.fc5.img.sav
mkinitrd -f initrd-2.6.20-1.2320.fc5.img 2.6.20-1.2320.fc5

HTH,
Tim



More information about the Ale mailing list