LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Installing new Kernal (https://www.linuxquestions.org/questions/debian-26/installing-new-kernal-139505/)

TheRiddler 01-28-2004 02:52 AM

Installing new Kernal
 
Hi there, im planning on installing Debian this weekend on my home machine, and i was just wondering how easy it is to install a new kernal on Debian? By the looks of it all i need to do is "apt-get install kernal-source-xxxx" then edit my lilo.conf and then run lilo -v, it cant be that easy surely? Altho if it is then :D less work for me :) Cheers for any help guys,

TheRiddler

spuzzzzzzz 01-28-2004 04:11 AM

I'm afraid it isn't that easy :(. Installing the kernel sources will do just that - install the source code for the kernel (probably in /usr/src/linux) Then you need to compile the source code. There is an excellent kernel compiling how-to in the slackware forum.

yowi 01-28-2004 04:28 AM

apt-get install kernel-image-<blah> will have a new image installed. It even runs lilo for you.
If you want to compile/install your own kernel then install "kernel-package" and "kernel-source-<blah>" and use the make-kpkg command. Check the relevant documentation for the details. This creates your own custom kernel-image.deb package that you can install with dpkg.

TheRiddler 01-28-2004 04:36 AM

Is using apt-get install kernal-image-xxx ok for installing a new kernal? ie; will it work? :D

spuzzzzzzz 01-28-2004 05:18 AM

Personally, i think you should compile your own. Its really not that hard and you learn a lot.

yowi 01-28-2004 06:36 AM

Works fine for me.
As spuzzzzzzzzz says compiling is good value and an interesting insight into just exactly what the linux kernel is capable of but I'm lazy and stock kernels work.


All times are GMT -5. The time now is 01:41 AM.