LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2005, 10:22 PM   #1
chadman
LQ Newbie
 
Registered: Dec 2004
Posts: 26

Rep: Reputation: 15
Do I even need an initrd?


I'm somewhat new to Linux, so for practice, I want to compile a kernel from scratch. I've done it before, but I did not put much thought into it and I did not know much about the options I was selecting.

First, do I even need an initrd? When I installed Debian it installed the 2.6.8.2 kernel, along with an initrd.

If I don't use an initrd, can I leave the following options as modules, or do I need to compile them into the kernel?

CONFIG_IDE
CONFIG_BLK_DEV_IDE
CONFIG_BLK_DEV_IDEDISK
CONFIG_IDE_GENERIC
CONFIG_FRAMEBUFFER_CONSOLE
CONFIG_NTFS_FS (will I lose NTFS read support, or will the module load when I try to mount ntfs?)
CONFIG_ISO9660_FS (will I lose CDROM read support?)

In the 2.6.8.2 config file, all of these options are set to be compiled as modules.

Last edited by chadman; 02-19-2005 at 10:28 PM.
 
Old 02-19-2005, 10:28 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Nope not necessarily, I mostly don't use one on the kernels that I compile myself, but I tend to compile your list into the kernel and not as modules.
 
Old 02-20-2005, 09:41 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
I agree w/ reddazz in that those should be compiled into the kernel. But you also need to remember to compile the root filesystem of your distro into the kernel(mines ext3 on Debian Sarge)
 
Old 02-20-2005, 09:53 PM   #4
chadman
LQ Newbie
 
Registered: Dec 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks

Thanks for the help! It does make more sense to me to just compile the base modules into the kernel. No point in having an initrd. I also learned about kmod, so I'm going to make most things module when I compile.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is initrd? PinRojas Linux - Newbie 2 06-16-2005 11:18 AM
initrd chris318 Linux - Software 1 02-27-2005 04:28 PM
Initrd????? rm6990 Linux - Software 5 10-15-2004 03:32 AM
initrd tekbuz Debian 2 08-04-2004 12:34 PM
using initrd? e1000 Linux - General 4 02-19-2004 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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