Re: Compiling the kernel..
Hi,
>>"Craig" == Craig Sanders <cas@taz.net.au> writes:
(Thanks, Craig, for answering this) I am merely clarifying a few minor
points in an excellent tutorial, To paraphrase what Craig said:
: simplest way is to download "kernel_source-x.x.x.deb", use dpkg to
: install it, and then:
: 1. cd /usr/src/linux
: 2. configure the kernel with:
: make config
: -or-
: make menuconfig
: -or-
: make xconfig
At this point you are done: debian.rules takes care of the rest. Just
say:
3. ./debian.rules kernel_image
Also, once a .config file exists, it is never overwritten by
debian.rules -- It is even propogated by ./debian.rules kernel_source
All this information is also in the file /usr/src/linux/debian.README
in the newer kernels.
manoj
ps. Please remember Craigs warnings about installing a kernel with the
same version as a previously installed kernel. If you absolutely have
to, remember to manually clean
/lib/modules/version-number-of-image-being-installed/* manually before
installing the new kernel-image, and reboot soon afterwards,
re-running lilo as necessary, of course (or otherwise ensuring that
you can boot with the new image).
--
God must love the common man; He made so many of them.
Manoj Srivastava Systems Research Programmer, Project Pilgrim,
Phone: (413) 545-3918 A143B Lederle Graduate Research Center,
Fax: (413) 545-1249 University of Massachusetts, Amherst, MA 01003
<srivasta@pilgrim.umass.edu> <URL:http://www.pilgrim.umass.edu/%7Esrivasta/>
Reply to: