LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-20-2005, 08:45 AM   #1
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,231

Rep: Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071
Kernel 2.6: I don't want/need initrd ...


I'm building a 2.6 from source. (We Don't Need No Stinkin' RPMs. )

It seems to want to do an initird. It complains about "initio" during make install. I don't want or need an initrd. Why does this appear?

Where is the 'initial ram-disk' option buried in make xconfig?
 
Old 08-20-2005, 09:25 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
The only reason to use "make install" in a 2.6 series kernel is if you have lilo installed to suit the kernel makefiles. Otherwise you only need "make xconfig" (or your choice) && "make" && "make modules_install" per Linus instructions in the README file that's with the kernel source.

I think you know, but the only reason for an initrd.img is if you need a module to load the kernel that you don't have built into the kernel, such as support for the / filesystem.

I believe that if you compile your / filesystem into your kernel, and you don't issue "make install" then you won't get that message. And afaik, there is nothing in "make xconfig" to do with an 'initial ram-disk' option.

I just compiled a fresh 2.6.12.5 tonight, to remove something that doesn't work, and I use Jesper Juhl's quick guide, minus his System.map symlink stuff at the bottom. It's not necessary, seeing as how the kernel already looks three places for System.map. And the one time I tried that, it was still pointing to the original System.map because rc.local hadn't run yet, so it gave me problems. I like his guide, though, for I can copy and paste his commands, just changing my kernel version number in his lines.
 
  


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
2.6.13 kernel / initrd conundrum fincher69 Slackware 9 09-30-2005 10:14 PM
Kernel initrd.img? microsoft/linux Debian 15 10-29-2004 12:35 PM
Problems with Initrd and Kernel 2.6.8 Lycus_adr0 Linux - Software 0 08-23-2004 11:58 AM
compiling kernel 2.6.3 with initrd ykcorse Linux - Software 3 05-06-2004 02:05 PM
New Kernel/Initrd problems lacerto Linux - Software 3 10-19-2003 06:00 AM


All times are GMT -5. The time now is 04:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration