barebones kernel:where to look
Hello:
I started working on a barebones kernel for the server I am running on from something someone else had and it seems to be going good.
I would like to take a good clean kernel and use it for my netbook, but I'm not really sure what the essentials are and what can be disabled. Basically I want it to be as small as possible with minimal module overhead. Has anyone else done something like this for a netbook or perhaps something else I could borrow? Is there somewhere where I can dig deeper into the specifics of the kernel configuration?
Any ideas here would be really appreciated.
Signature · 4 lines
Take care, Ty http://tds-solutions.net He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.
Quoted 9 lines · Tyler
Hello:
I started working on a barebones kernel for the server I am running on from something someone else had and it seems to be going good.
I would like to take a good clean kernel and use it for my netbook, but I'm not really sure what the essentials are and what can be disabled. Basically I want it to be as small as possible with minimal module overhead. Has anyone else done something like this for a netbook or perhaps something else I could borrow? Is there somewhere where I can dig deeper into the specifics of the kernel configuration?
Step 1: Boot a distro kernel. These are usually 'allmodconfig' or close to it.
Step 2: Plug in all your USB and other toys at least long enough for udev
to notice them and modprobe their drivers.
Step 3: 'make localmodconfig'. This will configure to build only the modules listed in 'lsmod' (thus the need to plug stuff in and get it modprobed).
Step 4: Continue building your kernel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130815/09007a3a/attachment.bin
Quoted 9 lines · Tyler
Hello: I started working on a barebones kernel for the server I am running on from something someone else had and it seems to be going good. I would like to take a good clean kernel and use it for my netbook, but I'm not really sure what the essentials are and what can be disabled. Basically I want it to be as small as possible with minimal module overhead. Has anyone else done something like this for a netbook or perhaps something else I could borrow? Is there somewhere where I can dig deeper into the specifics of the kernel configuration?
take a look at the "make localmodconfig" target, which will
configure a kernel with only those modules that are currently loaded.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================