LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel SRC RPM (https://www.linuxquestions.org/questions/linux-software-2/kernel-src-rpm-304604/)

conn-fused 03-22-2005 03:24 AM

Kernel SRC RPM
 
I'd like to upgrade my kernel (mandrake 10.1) to 2.6.10.1. I have found an appropriate .src.rpm (kernel-2.6.10.1mdk-1-1mdk.src.rpm). Unfortunately, I don't normally use .src.rpms.

What I want to know is: Is it possible to install both the kernel and the kernel source from this rpm? I.E. as if I had kernel-2.6.10.1mdk-1-1mdk.rpm and kernel-source-2.6.10.1mdk.rpm?

Thanks.

Thoreau 03-22-2005 04:12 AM

No, it will create the kernel binary. The kernel-source.src.rpm will create both. But, that isn't what you got.

ctux 03-22-2005 04:48 AM

Why don't you install the new kernel by compiling it? You can download it from www.kernel.org

after unzipping it, you have to move to the created directory where you have unzipped and there you should do:

Code:

make oldconfig    <-- It will configure your new kernel with your currently kernel configuration
make                  <-- It will compile your kernel
make modules    <-- It will compile everything of your kernel that is installed as module
make modules_install

But then, you will have just your new kernel installed. To boot your new kernel, you have to edit your lilo or grub depending of which are you using. And also you may need to make a mkinitrd

Good Luck ;)


All times are GMT -5. The time now is 12:20 PM.