LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-01-2008, 04:58 PM   #1
Panci
LQ Newbie
 
Registered: Nov 2005
Location: Italy
Distribution: Slackware 12.1
Posts: 22

Rep: Reputation: 0
Initrd and filesistem modules


Can someone explain me the reason why in the debian distributions all the filesystem kernel modules are not compile inside the kernle but loaded at the boot using the initramdisk??
For example why the ext3 module which is vital is not compile in the kernel???

Thanks
 
Old 01-01-2008, 06:49 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
If all of the kernel modules were compiled into the kernel then the kernel would be too big to boot into most machines. So only the kernel modules that are actually needed are loaded with the kernel. When you compile your own kernel you can compile the exact configuration of modules you need into your kernel.

The problem that distributions like Debian face is that what modules need to be compiled into the kernel varies widely from machine to machine. So the distributions solve that problem by compiling no loadable modules into the generic kernels they distribute thus creating a fairly small kernel. Then at install they decide which loadable modules need to be loaded at boot for this particular machine and set up an initrd to read in those modules in along with the generic kernel.

While ext3 may be essential for you there are many people who do not use ext3 for their / partition or perhaps don't use ext3 at all. For these people having ext3 compiled into their kernel would be unnecessary bloat.

-----------------------------
Steve Stites
 
  


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
How to create new initrd.gz (or initrd.img) file? kkpal Programming 2 12-10-2007 08:38 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
mounting ext3 filesistem problems pingvina Linux - Software 10 12-30-2005 11:16 PM
loading modules with an Initrd image? komuthan Slackware 4 12-07-2005 12:17 AM
Unhiding partition hiden by lilo -> no filesistem. amoros Linux - General 3 03-25-2004 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:08 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