LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration