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. -- 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.
On Thu, 15 Aug 2013 15:32:25 -0400, "Littlefield, Tyler" said:
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.
On Thu, 15 Aug 2013, Littlefield, Tyler wrote:
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 -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
participants (3)
-
Littlefield, Tyler -
Robert P. J. Day -
Valdis.Kletnieks@vt.edu