Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


LinkBack Search this Thread
Old 08-12-2008, 05:38 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
how to make device driver built-in in initial ramdisk


how to make my module built-in in initial ram disk(initrd)

when I do #make modules, its compiling my module but unable to become built-in driver.

How can I do that?

Thanks in advance ,
Old 08-12-2008, 02:55 PM   #2
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
You need to be a little more specific. Are you creating the initrd you are using now, or does it come with your distribution? Which distribution are we even talking about?

Building the module only installs it on the currently running OS, it won't put it into the initrd you are using to boot.
Old 08-12-2008, 04:25 PM   #3
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,092
Blog Entries: 2

Rep: Reputation: 109Reputation: 109
you need to look at the mkinitrd/update-initramfs tools, they usually have a configuration file where you can add the names modules you want to be in the initrd and then just re-create or udpdate the initrd for the kernel you are using.


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make use of a USB device driver? rockballad Programming 6 01-22-2008 06:59 PM
Problem booting kernel without initial ramdisk m4mach Linux - General 25 08-03-2007 09:16 AM
kernel build create initial ramdisk htamayo Linux - Software 1 01-07-2005 01:57 PM
how can i make device driver diskette? mrship Linux - Hardware 0 06-21-2004 01:02 AM
bootsplash initial ramdisk error Likosin Linux - Software 2 08-16-2003 02:13 PM

All times are GMT -5. The time now is 08:25 AM.

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