LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2011, 10:51 AM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
I got a question about mkinitrd...


Now when you run
Code:
mkinitrd -v -f /boot/initrd-2.6.20-1.2320.fc5.img 2.6.20-1.2320.fc5
This assumes that you have the modules for this kernel version build under /lib/modules. So it would check /lib/modules/2.6.20-1.2320.fc5 for modules correct?

I want to make sure I understand this. When you recompile a kernel, specifically make menuconfig and you check which device drivers you want to be built as a kernel module instead of built into the kernel image, these modules are all put into the initrd when you run mkinitrd? Or are just the block device driver modules put into the initrd?
 
Old 03-07-2011, 07:58 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
So it would check /lib/modules/2.6.20-1.2320.fc5 for modules correct?
Yes, that is correct.

As far as everything else, check out the wikipedia article:

http://en.wikipedia.org/wiki/Initrd

That has some good information and insight about the initrd file. Hope that helps.

Cheers,

Josh
 
1 members found this post helpful.
Old 03-12-2011, 08:36 AM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
Great thank you.
 
Old 03-12-2011, 09:16 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
No problem.
 
  


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
Question about the recent mkinitrd upgrade rmjohnso Slackware 6 11-19-2010 12:12 PM
[SOLVED] mkinitrd question from new slacker jkirchner Slackware 11 06-28-2010 07:34 PM
mkinitrd question granth Slackware 9 07-23-2007 10:38 AM
Question about mkinitrd in Red Hat awkward Linux - General 1 07-02-2007 03:23 PM
mkinitrd kernel-related question Tino27 Slackware 1 03-26-2004 11:14 PM


All times are GMT -5. The time now is 08:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration