z0mbix
11-28-2001, 12:32 PM
I hear that with debian you can apt-get a kernel upgrade. I was wondering if this is a prefered way to do this with debian or is it still best to compile the usual way. What are the benefits of compiling as normal as opposed to using apt-get?
Thanks
demian
11-28-2001, 12:48 PM
Originally posted by cheeky_zombie:
<STRONG>I hear that with debian you can apt-get a kernel upgrade.</STRONG>
That's right but if you ask me, that's the sissy's way of doing things :D What you get then is a compiled kernel that might be more recent then the one you have but it isn't taylored to your system.
I think what you mean is that you can use the program make-kpkg to create a .deb package of your kernel. The canonical procedure would be to get the kernel sources, do the usual make [x|menu]config and then compile it with make-kpkg (it does the make bzImage; make modules part for you and creates a yourkernel.deb file) then you use dpkg -i yourkernel.deb to install it. This does make modules_install for you and moves the new kernel and System.map to /boot/. I think it can also deal with the lilo part but I prefer doing that myself...