LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Loading a new drier into the RHEL5.4 iso image (http://www.linuxquestions.org/questions/red-hat-31/loading-a-new-drier-into-the-rhel5-4-iso-image-797540/)

prpednek 03-24-2010 10:02 AM

Loading a new drier into the RHEL5.4 iso image
 
Hi All,
With my limited knowledge about integrating kernel modules into the initrd image, please pardon me if i am getting nething wrong here.

The issues is that currently when we are trying to install the RHEL5.4 image onto a 64 bit box we need to load the megasr driver initially before the ahci driver. Hence we use a seperate diskette for the same.

We want to integrate the megasr files into the RHEL image itself. Please let me know the steps to perform the same. I have been trying some things out, but not working.

Appreciate your help.

valen_tino 03-24-2010 11:43 AM

Someone trying something similar: http://www.linuxquestions.org/questi...driver-598656/

prpednek 03-25-2010 01:50 AM

Integrating megasr driver into initrd.img file
 
Quote:

Originally Posted by valen_tino (Post 3910466)

Thanks Valentino,
But the problem I am facing is that we are trying to integrate the driver diskette into the ISO image itself, hence no other mount of additional diskette is required. [to minimize user intervention]. I have been successful in installaing the driver alongwith RHEL5.4 used seperately mounted onto a fdd.


I have able to embed the megasr.ko driver into the initrd image, Any additional steps ??

Basically we are trying to do the above using a kickstart file.

DrLove73 03-25-2010 03:43 AM

Since driver is not a part of regular kernel, don't you need to add/install driver's rpm file to distro?

prpednek 03-30-2010 06:44 AM

Quote:

Originally Posted by DrLove73 (Post 3911429)
Since driver is not a part of regular kernel, don't you need to add/install driver's rpm file to distro?

CAn you be a little elaborate?? I am using RHEl5.4 64 bit

DrLove73 04-01-2010 02:25 PM

initrd image is only for one kernel version, right? So to be able to immediately update to another kernel version, you have to have driver installed onto the system, not just to one kernel.

You should compile a rpm package with your driver and add it to install media (or use existing rpm) so driver is persistent between versions of kernel.


All times are GMT -5. The time now is 12:19 AM.