LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-29-2007, 05:20 AM   #1
kiranbyk
LQ Newbie
 
Registered: Jan 2007
Posts: 23

Rep: Reputation: 16
How to compile initrd image adding new network drivers


I was looking for help in building an initrd image, which should be built adding new drivers to it.
Could someone help.
 
Old 05-29-2007, 07:08 AM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Use the mkinitrd command. See its manpage.

mkinitrd --with=your_desired_module_name <image_name> <kernel-version>
 
Old 05-30-2007, 05:50 AM   #3
kiranbyk
LQ Newbie
 
Registered: Jan 2007
Posts: 23

Original Poster
Rep: Reputation: 16
How to compile initrd image adding new network drivers

I am using a PXE server to install rhel3 and rhel4 with all updates on x3550 which has NetXtreme NIC card. I am trying to load the module to the initrd image, but i could not find the network module for the exact kernel. How should i make it compatible irrespective of the kernel version.
 
Old 05-30-2007, 05:58 AM   #4
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Modules must be built against each particular kernel. You can't build a module against one kernel version and use it against another.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make new initrd image qewldude Fedora - Installation 3 02-15-2008 09:56 AM
adding drivers in ISO image ..?? cyberiapost Linux - Newbie 2 01-11-2007 11:25 PM
Missing initrd image neogeek23 Linux - Kernel 1 12-24-2006 01:29 PM
mounting the initrd image d0tc0mguy Linux - Newbie 1 09-29-2006 05:16 AM
What's initrd image? Nerox Linux - Newbie 2 08-25-2004 04:53 PM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration