* barebones kernel:where to look
@ 2013-08-15 19:32 Littlefield, Tyler
2013-08-15 21:08 ` Valdis.Kletnieks at vt.edu
2013-08-16 13:21 ` Robert P. J. Day
0 siblings, 2 replies; 3+ messages in thread
From: Littlefield, Tyler @ 2013-08-15 19:32 UTC (permalink / raw)
To: kernelnewbies
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* barebones kernel:where to look
2013-08-15 19:32 barebones kernel:where to look Littlefield, Tyler
@ 2013-08-15 21:08 ` Valdis.Kletnieks at vt.edu
2013-08-16 13:21 ` Robert P. J. Day
1 sibling, 0 replies; 3+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2013-08-15 21:08 UTC (permalink / raw)
To: kernelnewbies
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.
-------------- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* barebones kernel:where to look
2013-08-15 19:32 barebones kernel:where to look Littlefield, Tyler
2013-08-15 21:08 ` Valdis.Kletnieks at vt.edu
@ 2013-08-16 13:21 ` Robert P. J. Day
1 sibling, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2013-08-16 13:21 UTC (permalink / raw)
To: kernelnewbies
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
========================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-16 13:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15 19:32 barebones kernel:where to look Littlefield, Tyler
2013-08-15 21:08 ` Valdis.Kletnieks at vt.edu
2013-08-16 13:21 ` Robert P. J. Day
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.