Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-25-2004, 05:14 PM   #1
Registered: Jul 2004
Location: Spain
Posts: 111

Rep: Reputation: 20
What's initrd image?

I've realized linux distributions comes with a initrd file (e.g initrd.img-2.4.23), and i would like to know what's this file.

Is it necessary? Must i create another one when i compile my own kernel?

Thanks in advance.
Old 08-25-2004, 05:30 PM   #2
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
If you compile your filesystem as a module, you will need at initrd (initial ram disk). If I am right, your kernel cannot mount / directory if the file system is compiled as module which leads to the problem of system actually not booting. Initrd is sort of a work around that problem. Kernels compiled by Redhat and Fedora have ext3 filesystem as a module hence they need initrd.

You can compile your filesystem directly into the kernel and do away with initrd.

google for more info.
Old 08-25-2004, 05:53 PM   #3
Registered: Aug 2002
Posts: 13,665

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163


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
Maximum size of initrd image ?? PeteRossi Slackware 5 03-26-2007 10:30 AM
Kernel-image renamed to linux-image? powadha Debian 2 08-02-2005 06:07 AM
if I boot from slack-CD1, how to load initrd image file jiawj Slackware 6 03-31-2005 04:05 PM
Creating custom initrd image in suse 9.1 Anmol SUSE / openSUSE 1 01-08-2005 03:31 AM
compiling kernel, initrd can't make image, 'loop devices busy' infamous41md Linux - Newbie 2 06-02-2004 12:59 PM

All times are GMT -5. The time now is 09:38 PM.

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