General Kernel Configuration: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 12: Line 12:


  make oldconfig
  make oldconfig
== Hardware Detection ==
* There is a nice link [http://gentoo-wiki.com/HARDWARE_Detecting_your_Hardware at the Gentoo wiki.]
* Basically, emerge pciutils lshw usbutils, which gives you lspci, lshw, and lsusb.


== Choice of the scheduler ==
== Choice of the scheduler ==


This in the section Block Layer.
This in the section Block Layer.

Revision as of 18:03, 11 July 2007

This page helps with the configuration of the Linux kernel. Remember, configuring the kernel is easy - you just have to know which hardware you have quite well.

General Information

The kernel sources are unpacked in /usr/src (at least on Gentoo).

  • Once you are in the kernel source directory, use the following command to configure graphically your kernel:
make menuconfig
  • When migrating to a new kernel, copy your old .config file from the old kernel directory to the new one and type:
make oldconfig

Hardware Detection

  • Basically, emerge pciutils lshw usbutils, which gives you lspci, lshw, and lsusb.

Choice of the scheduler

This in the section Block Layer.