[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling kernel



Kumar Appaiah wrote:
On Sat, Dec 05, 2009 at 06:59:48AM -0700, debian@toursbymexico.com wrote:
I have a doubt about kernel compilation. Two days ago I compiled by hand
2.6.31.6 and it crashed during the boot process. The configuration was
made by hand, starting from the default configuration and perhaps I missed
something.

Since I had to restore my old slackware bakcup to recover some files and
information, I got a copy of the already running (at slack) 2.6.31.6
kernel configuration that is finely tuned for my desktop... my question
is: can I simply load such kernel configuration in the 'make xconfig' that
is working (same desktop and cpu configuration) and compile it with
debian? I mean, it is the same computer and hardware, the same kernel
version, etc.

Yes. In addition, I would highly recommend using kernel-package to
compile your kernel to generate a deb. Here's a nice primer:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

I would recommend using the 'make-kpkg' command from the "kernel-package" package as well. But I would not recommend following this old web page document -- it is WAY out of date.

Read the documentation in /usr/share/doc/kernel-package after installing it, or Google for a tutorial that is more recent.


Dave W.


Reply to: