Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-24-2006, 05:28 PM   #1
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 714
Blog Entries: 1

Rep: Reputation: 33
Post help me with gentoo kernel compile

Hello All,
I installed new Gentoo 2006.0 and i need to compile a new kernel manually from gentoo-sources.normally you do a
make && make modules_install
now i want to make initrd along with building it possible.any options is there rather than using mkinitrd afterwards..Thanks,in debian,it builds initrd image by giving a "--initrd" switch.but in gentoo/others what is the options
Old 04-24-2006, 07:25 PM   #2
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
i always thought it made an initrd when you typed "make install". Maybe i am wrong but i have never messed with initrds. never needed them. you probably only need them for bootsplashes and so forth.
Old 04-25-2006, 12:26 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You may need to use the "mkinitrd" command". On all the kernels I have compiled myself, I have never needed and initrd image.
Old 04-25-2006, 12:53 AM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,884

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
Why the hell would you want an initrd if you are self-compiling ???.
There may be some odd-ball cases, but I'm with reddazz - the reason I do my own is to get rid of the initrd and truckloads of modules the packaged distros foist on you.
Old 04-25-2006, 01:56 PM   #5
LQ Newbie
Registered: Apr 2006
Location: USA
Distribution: 2006.0 Gentoo Linux (gentoo-sources-2.6.15-r1)
Posts: 23

Rep: Reputation: 15
The two main kernels that are run in gentoo are "gentoo-sources" (the 2.6 kernel) and "genkernel" (the liveCD kernle). By default, only the "genkernel" uses a initrd image. It is used for a higher boot resolution and boot slashes etc. By default, the "gentoo-sources" does not create an initrd image, unless you configure your kenrel to do so. You usually only want to build an initrd image to get a better screen resolution at boot, and the fance "boot spalshes"

Here is a link that will help you get what you are looking for:

Last edited by swooshonln; 04-25-2006 at 01:57 PM.


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
Gentoo amd64 Kernel does not compile worldgnat Linux - Distributions 11 02-01-2006 10:18 PM
kernel compile problem in gentoo saif__r Linux - Newbie 5 08-12-2005 06:32 PM
Howto: Compile new 2.6.x kernel for Gentoo? Please help.. :S CrapBag Linux - Newbie 1 07-09-2005 01:41 PM
can't compile gentoo patched kernel on ppc raven Linux - Software 2 06-21-2005 06:49 AM
gentoo kernel compile error zbrox Linux - Software 2 01-27-2004 02:05 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

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