LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-22-2005, 04:24 AM   #1
conn-fused
Member
 
Registered: Jun 2004
Posts: 124

Rep: Reputation: 15
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.
 
Old 03-22-2005, 05:12 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
No, it will create the kernel binary. The kernel-source.src.rpm will create both. But, that isn't what you got.
 
Old 03-22-2005, 05:48 AM   #3
ctux
Member
 
Registered: Jul 2004
Location: Catalunya (Pa´sos Catalans)
Distribution: Fedora Core 3
Posts: 50

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Installing the kernel-2.6.9-1.667.src.rpm fuzzyrush Fedora 5 01-22-2005 03:08 PM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus Suse/Novell 5 12-02-2004 01:48 PM
installed kernel from src.rpm but what config was used ? qwijibow Linux - Software 2 01-20-2004 05:37 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM
kernel src rpm zephyr Linux - Newbie 1 08-30-2002 12:36 PM


All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration