LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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,052

Rep: Reputation: 70
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
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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,052

Original Poster
Rep: Reputation: 70
Great thank you.
 
Old 03-12-2011, 09:16 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
No problem.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration