Monday, June 7, 2010

Compile a kernel in Ubuntu

Here is the link: http://blog.avirtualhome.com/2010/05/05/how-to-compile-a-ubuntu-lucid-kernel/

Processor

Select particular processor: Pentinum M
Processor type and features ---> Processor family
Disable following features
Processor type and features ---> SMT (Hyperthreading) scheduler support
Processor type and features  ---> Generic x86 support
Processor type and features ---> Support for extended (non-PC) x86 platforms
Miscellaneous

The following suggestions won’t improve the size or speed of the kernel but they will reduce the compilation time.

I disable all filesystems I am not running:

File systems  --->

I disable all network options I am not using, like IPX, AppleTalk:

Networking support ---> Amateur Radio support
Networking support ---> WiMAX Wireless Broadband support
Networking support ---> Networking options ---> The IPX protocol
Networking support ---> Networking options ---> Appletalk protocol support
Networking support ---> Networking options ---> ARCnet support
Networking support ---> Networking options ---> Asynchronous Transfer Mode (ATM)