Re: How to rebuild an Anaconda initrd/kernel with updated drivers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is something I did a long time ago to add some broadcom drivers that were newer than what RHEL 3 and 4 had to offer at the time.  I believe this is the document I used to figure out how to do this:

http://lists.us.dell.com/pipermail/linux-poweredge/2003-August/009343.html

It is for RH7.3, but worked on RHEL 3 and 4.  I would guess that it would be somewhat similar for RHEL 5, although I have not done this on RHEL 5 as of yet.

Thanks,

Koree

--
Koree A. Smith, RHCE
--
koreesmith@xxxxxxxxx
koree@xxxxxxxxx

On Jan 2, 2008 4:44 PM, michael@xxxxxxxxxxx <michael@xxxxxxxxxxx> wrote:
Tim Born wrote:
> Riggs, Ben wrote:
>
>> We have new motherboards with onboard NICs which aren't recognized by
>> the fedora 7 installer initrd/kernel. Naturally, not having a NIC
>> makes using network drivers impossible. Anyone have the skinny, or a
>> link?
>>
>> Thanks,
>> Ben
>> --
>> Systems Staff
>> School of Mathematics
>> University of Minnesota
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>
> Not tried it, so your milage may vary ...
>
> I think you want to find or setup a machine that has the same kernel as
> the one you are trying to install
> then use mkinitrd to create a custom initrd including your drivers:
>
> /sbin/mkinitrd --with=$yourdriver custom.img `uname -r`
>
> Once that's built, swap it in for the initrd on your kickstart or burn a
> custom ISO.
>


I used to do this in the RH7/RH8 days so things may have changed.

Best I recall I would add the kernel to my build machine that matches
what is on the boot media and boot from it.

Build the network modules for the new driver.

Mount the boot media
Extract the initrd
Add the new drivers to the extracted initrd
Update the pciids to include the new hardware ( if required )
Create a new initrd
Update boot media with the new initrd

Michael

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list




_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux