[Ilugc] Doubts in Kernel Compilation.
- From: akumar@xxxxxxxxxxxxx (Kumar Appaiah)
- Date: Sat Oct 7 07:16:06 2006
On Fri, Oct 06, 2006 at 11:55:56AM -0700, Shakthi Kannan wrote:
[snip]
I try to avoid the distro kernels, because they are
always tweaked, modified, and patched by the distro
kernel maintainers. I prefer to compile a stock kernel
from kernel.org.
Steps followed (for reference):
cd /usr/src/linux-2.6.17
make clean
make menuconfig
make
make modules_install
make install
yaird -o /boot/initrd-2.6.17.img 2.6.17
I have not used the make-kpkg tool from Debian. yaird
is yet another mkinitrd.
Had you used make-kpkg, all you'd have had to do would have been:
fakeroot make-kpkg --initrd --revision mykernel1.0 kernel_image in
place of make... + yaird. That is the only difference.
It compiles the kernel, uses mkinitramfs, yaird etc. in the
background, and generates a deb with the kernel, so is easier to
handle.
Kumar
--
Kumar Appaiah,
462, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
Other related posts: