Linux.com

Home Linux Community Forums Programming and Development Kernel Development Help on Extremely Minimal Kernel config file

Help on Extremely Minimal Kernel config file

Link to this post 12 Oct 09

Hi all,
I'm having fun with linux. Created a new linux distro's with oss friends.For past few weeks,we are stuck with creating a minimal kernel image(not supports modules) that supports network support.Can someone help us with extremely minimal kernel config. file that supports network ?

(more info: http://www.linuxforums.org/forum/coffee-lounge/152907-extremely-minial-linux.html)

Link to this post 15 Oct 09

So you want a minimal config.
What arch? i586, i686 or x86_64?
Do you want all the network drivers built in or do you just want the most common ethernet drivers builtin?
Do you want wireless network drivers?
What languages do you need to support?
Do you need sound? (alsa not built as modules is a bad idea imo.)
You need display support?
Which file systems?

The problem is that the more you build in, the bigger the kernel will get but you don't need an initrd. The less you build in the smaller the kernel should be and the initrd/initramfs will be bigger.
Also, if you find a bug, you can't just unload a troublesome module if it's built in.

Unless you are building an embedded kernel for a specific device; like an arm based machine, there really serves no point in what you are trying to achieve.
If you can tell me why you want to do this and answer my above questions; I could provide you with a config to try.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board