Am 10.01.2013 10:38, schrieb Nuno J. Silva:

> Even then, if you do that and tune the config several times, you'll
> likely end up with a lighter kernel. Just drop anything you don't need
> from the device drivers.
> 
>> "make allnoconfig" as a start?
> 
> That is probably much better than the config from the install dvd, yes,
> in fact most of the work coming from an "Add-It-All" config is that you
> have to disable many, many entries.

I tried with a .config from the live cd, just to see where it gets me.
Disabled loads of stuff, enabled options I need for my hardware and for
running KVM here.

This cut my .config from ~76k down to 71k already, and the kernel itself
got smaller as well:

# the backup from old .config

2,5M 10. Jan 11:52 initramfs-genkernel-x86_64-3.7.1-gentoo
3,3M 10. Jan 11:52 kernel-genkernel-x86_64-3.7.1-gentoo
2,0M 10. Jan 11:52 System.map-genkernel-x86_64-3.7.1-gentoo

# the new one

2,5M 10. Jan 13:53 initramfs-genkernel-x86_64-3.7.1-gentoo
2,7M 10. Jan 13:52 kernel-genkernel-x86_64-3.7.1-gentoo
2,1M 10. Jan 13:52 System.map-genkernel-x86_64-3.7.1-gentoo

nice so far, without much work to do.

Everything works so far, so ok ...

I might try the allnoconfig-approach as well, sure!

Stefan

Reply via email to