LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2009, 03:02 AM   #1
mcpoon
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Rep: Reputation: 0
How to upgrade my kernel to 2.6.30


I am new to fedora. Currently I am running on Fedora 10 kernel 2.6.27. However I need to upgrade it to kernel 2.6.30. I have tried yum update kernel but it doesn't change anything in my kernel. Can someone please help me out with the steps?
Thank you.
 
Old 06-17-2009, 03:25 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,506

Rep: Reputation: 100Reputation: 100
Hi

First, download the kernel itself (probably from kernel.org, right?)

Then, follow the steps indicated here:

http://www.digitalhermit.com/linux/K...WTO.html#INTRO

Basically, what you'll need to do is to unzip, then untar the kernel source. Then there is about 6 or 7 commands you type into the terminal to actually "compile" (build) the kernel.

If you are using GRUB as your bootloader, you'll then see, when you boot your system, that a new kernel is available for booting. Simply select that, and you should be running the new kernel.

Note these steps have to performed manually, i. e. without using yum or packagekit - but IMO will work better and give you more control over what happens.

Last edited by rylan76; 06-17-2009 at 03:26 AM.
 
Old 06-22-2009, 06:13 AM   #3
mcpoon
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks. I have tried the steps in the link and right now I can see a new kernel choice (I am using GRUB as my bootloader) for booting up. However if I don't select and it automatically boot up, it will load the old kernel. Even when I do yum update kernel, it will update 2.6.27 instead of the new version.
Is there any steps that I have missed out?
 
Old 06-22-2009, 07:13 AM   #4
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Quote:
mcpoon

Thanks. I have tried the steps in the link and right now I can see a new kernel choice (I am using GRUB as my bootloader) for booting up. However if I don't select and it automatically boot up, it will load the old kernel.
Sounds to me like you need to edit your Grub and tell it to boot to the new kernel. Boot your system when it gets to the Grub menu press the down arrow key to stop the boot process. Now count the entry lines on the grub list, if your new kernel entry shows up as number 3 on the list. Edit your grub menu.lst and close to the top you will find a line that says "default 0" change the 0 to a 2 and grub will boot to the 3rd line. Grub counts starting from 0.
 
Old 06-27-2009, 04:47 AM   #5
mcpoon
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the tips on how I can edit my grub. I have managed to auto boot up to my latest kernel after I edited the menu. However I still have the problem in updating the kernel because when I execute update command, it will still search for the old kernel version. Is there anything that I need to do to update the kernel that I boot up with?
 
Old 06-27-2009, 04:59 AM   #6
reccursive
LQ Newbie
 
Registered: Apr 2009
Distribution: Debian
Posts: 5

Rep: Reputation: 1
Well, i'm disappointed in kernel rebuilding. I even managed to build and boot it, but it's working terribly. No problem with config - it's generic, i copied it from current kernel 2.6.26. I could not make my wireless network card work under new kernel, though i have sources of driver that's built perfect for the old one. Now i'm too lazy to try again, but... I think i will do it
 
Old 06-27-2009, 09:33 AM   #7
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
I strongly suggest that you first upgrade to Fedora 11 before installing a 2.6.30 kernel. Lots more will work for you.

No need to build your own 2.6.30. The Fedora build system is already doing it quite nicely. You can download 2.6.30 and install in your FC11 from http://koji.fedoraproject.org/koji/
 
  


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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 09:32 AM
Error in installing kernel image for kernel upgrade in Knoppix-------Help East Debian 1 03-28-2008 03:50 AM
apt-get upgrade does not upgrade my kernel halfpower Debian 5 12-11-2005 10:53 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration