[CentOS] CentOS4 and older megaraid - SOLVED

Mon Jan 22 22:03:38 UTC 2007
Peter Serwe <peter at infostreet.com>

Yeah, I need to actually figure out how to rebuild an installation CD to
use them, or just dump them on a CD-R, because I pretty much can't get
any of the old FDD's to work, on any of the ancient machines I see
around here.

Peter
David Booth wrote:
> For Centos4.4 I've got the 586 and 686 drivers on 2 floppies so far - 
> recipe follows... Hope this helps someone.
> I'll try this on my HP and Acer, neither of which will install without 
> intervention. I'll post part 2 of the recipe if it works out.
>
> # recipe part 1 - make the driver disks using
> #http://www.tuxyturvy.com/blog/index.php?/archives/4-Installing-RHEL4-on-Systems-with-Legacy-Megaraid-Drivers.html 
>
> # modified for Centos4.4 as described in this thread 
> #http://lists.centos.org/pipermail/centos/2005-August/010021.html
> #
> # Using Centos4.4Final i386 Disk 1 of 4
> #
> # START
> # Install Centos4.4 disk 1 of 4 minimal on an old system
> # with floppy and PCI HD and net access
> mkdir /usr/src/software
> cd /usr/src/software
> wget http://www.tuxyturvy.com/files/megaraid2.tar.bz2
> mkdir /usr/src/megaraid
> cd /usr/src/megaraid
> tar jxvfp /usr/src/sofware/megaraid2.tar.bz2
> yum install gcc
> yum install kernel-devel-2.6.9-42.EL.i586
> make -C /lib/modules/2.6.9-42.EL/build SUBDIRS=/usr/src/megaraid modules
> #
> # copy megaraid.ko to a floppy and label it megaraid-586
> #
> mformat a:
> mount /media/floppy
> cp /usr/src/megaraid.ko /media/floppy
> umount /media/floppy
> #
> # then clean out the kernel-devel...to make way for the 686 version
> rpm -e kernel-devel
> yum install kernel-devel-2.6.9-42.EL.i686
> #
> cd ../usr/src
> mv megaraid megaraid-586
> mkdir megaraid
> cd megaraid
> tar jxvfp /usr/src/sofware/megaraid2.tar.bz2
> make -C /lib/modules/2.6.9-42.EL/build SUBDIRS=/usr/src/megaraid modules
> #
> # then copy megaraid.ko to a floppy and label it megaraid-686
> mformat a:
> mount /media/floppy
> cp /usr/src/megaraid.ko /media/floppy
> umount /media/floppy
> #
> # Take the floppies to the scsi system and follow recipe part 2
> # I'll post that if it works out.
>


-- 
Peter Serwe <peter at infostreet dot com>

http://www.infostreet.com

"The only true sports are bullfighting, mountain climbing and auto racing." -Earnest Hemingway

"Because everything else requires only one ball." -Unknown

"Do you wanna go fast or suck?" -Mike Kojima

"There are two things no man will admit he cannot do well: drive and make love." -Sir Stirling Moss