On Friday 01 September 2006 15:29, Xavier MOGHRABI wrote:
> Dear all,
>
> I'm trying to generate a kernel without module. So I've
> disabled "Enable loadable module support" option with
> genkernel.
>
> Genkernel compiles well the bzimage but fails after with the
> message "ERROR: Failed to compile the "modules" target..."
> (look hereunder log).
>
> Do you know how can I generate my kernel w/o module support
> using Genkernel ?

You don't.

The entire point of genkernel is to make it easy for newbies to 
compile a kernel, complete with all needed modules, lvm & raid 
support if needed, maybe a splash and an initramfs. I suppose 
you *could* use the correct options to genkernel to do it, but 
if you are creating a monolithic kernel then you must know what 
you are doing, so what you want is:

cd /usr/src/linux
make menuconfig && make
copy kernel, System.map, .config and whatever else you like to 
keep to /boot; edit grub.conf
reboot

Using genkernel for this is overkill, much like a bulldozer is 
overkill for digging one hole to plant a rosebush :-)


alan
-- 
gentoo-user@gentoo.org mailing list

Reply via email to