SCIENTIFIC-LINUX-USERS Archives

December 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jaroslaw Polok <[log in to unmask]>
Reply To:
Jaroslaw Polok <[log in to unmask]>
Date:
Tue, 12 Dec 2006 17:34:43 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Niels Walet wrote:
> I need to add a forcedeth driver to the ramdisk in the boot image
> (SL4.4). What is the easiest way to do that?


I found easiest to be (similar chicken-and-egg problem
with another network driver)

Prepare driver disk (http://people.redhat.com/dledford/)

Copy the resulting image file into initrd.img (at /)

(can be actually any size , not necessarily 1.44MB floppy)

Tell anaconda (via kickstart or manually) to use it:

dd=path:/your_dd.img

(yes this is not really documented but works ;-))


Alternatively:

unpack the modules/modules.cgz from initrd.img,
add your modules into the tree, repack it.
Edit modules-info, modules.dep, from /modules/,
adding the info about the driver.


Cheers

Jarek

__
-------------------------------------------------------
_ Jaroslaw_Polok ___________________ CERN - IT/FIO/LA _
_ http://home.cern.ch/~jpolok ___ tel_+41_22_767_1834 _
_____________________________________ +41_78_792_0795 _

ATOM RSS1 RSS2