Re: Compile a custom kernel instructions
From: Aragorn (stryder_at_telenet.invalid)
Date: 10/26/05
- Next message: Stan Goodman: "Re: Disillusioned with Linux"
- Previous message: Michael Heiming: "Re: kernel src.rpm installation"
- In reply to: Mario: "Re: Compile a custom kernel instructions"
- Next in thread: Mario: "Re: Compile a custom kernel instructions"
- Reply: Mario: "Re: Compile a custom kernel instructions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Oct 2005 09:57:34 GMT
On Monday 24 October 2005 11:39, Mario stood up and spoke the following
words to the masses in /comp.os.linux.misc...:/
> On Sat, 22 Oct 2005 10:46:37 +0000, Vardan Kushnir wrote:
>
>> When exiting make menuconfig, screen says "Next, you may run
>> 'make bzImage', 'make bzdisk', or 'make install'.
>
> for 2.6 kerne?l it's enough make menuconfig (or make xconfig)
> make
> make install
More precisely, for a 2.6 kernel on IA32 and x86-64, it's one of the
following five commands...
make config
make oldconfig
make menuconfig
make gconfig
make xconfig
... and then all of the following...
make bzImage modules
su
make modules_install install
... in the order as above. The last command should of course be issued
from within the /su'ed/ environment.
It is important that you unpack kernel sources to a directory in your
$HOME, unless you are _installing_ a system from sources such as Gentoo
or LFS.
The */usr/src* area should never be used for installing a newer kernel
into an already existing distribution, and the headers of the kernel
sources installed by your distribution are the ones needed for
compiling anything else, as those are the headers against which your
libraries (and the rest of your system) have been compiled.
In regards to the configuration, the options are as follows:
- config = interactively
- oldconfig = interactively for when you have an existing /.config/ but
only asks you about newer options
- menuconfig = uses an /ncurses/ menu interface
- gconfig = uses a GTK, Gnome-like interface
- xconfig = uses a Qt, KDE-like interface
For a 2.4 kernel, the configuration lacks the /gconfig/ option and has
the /xconfig/ option use a Motif-style interface. 2.4 kernels also
require...
make dep
... after configuring the kernel.
Hope this helps... ;-)
-- With kind regards, *Aragorn* (Registered GNU/Linux user #223157)
- Next message: Stan Goodman: "Re: Disillusioned with Linux"
- Previous message: Michael Heiming: "Re: kernel src.rpm installation"
- In reply to: Mario: "Re: Compile a custom kernel instructions"
- Next in thread: Mario: "Re: Compile a custom kernel instructions"
- Reply: Mario: "Re: Compile a custom kernel instructions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|