Re: How do I recompile the kernel?
Hi,
I have attached a mail by Ben Gertzfield below. The original question was
about kernel modules but the 'kernel-package' handles all the things
related to building a custom kernel, not only the modules.
This is the way I built my kernel and it worked very well. The
'kernel-package' can be found from the misc section. After you have
made your new custom kernel you can install it with 'dpkg -i
/usr/src/your_new_kernel.deb'.
Start of quote:
>>>>> "Will" == Will Lowe <lowe@eecis.udel.edu> writes:
Will> This might be going to the wrong list, but I don't think I
Will> subscribe to debian-devel. Maybe it actually goes to the
Will> linux kernel people. Anyway:
Will> Shouldn't <make modules_install> 1) automatically purge the
Will> /lib/modules/* tree before installing? 2) update
Will> /etc/modules and conf.modules?
If you use the 'kernel-package' Debian package, things will work
exactly this way.
You just run make menuconfig/config/xconfig/whatever, and then run:
make-kpkg --revision whatever.1.0 kernel_image
(you can replace 'whatever' with whatever ;)
and voila! you'll have a new .deb package of your kernel and modules
and other assorted goodies in /usr/src. :)
End of quote:
// Heikki
--
Heikki Vatiainen * hessu@cs.tut.fi
Tampere University of Technology * Tampere, Finland
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: