-   Linux - Kernel (
-   -   help me with gentoo kernel compile (

deepclutch 04-24-2006 06:28 PM

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

Samoth 04-24-2006 08:25 PM

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.

reddazz 04-25-2006 01:26 AM

You may need to use the "mkinitrd" command". On all the kernels I have compiled myself, I have never needed and initrd image.

syg00 04-25-2006 01:53 AM

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.

swooshonln 04-25-2006 02:56 PM

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:

All times are GMT -5. The time now is 02:43 PM.