LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to upgrade my kernel to 2.6.30 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-upgrade-my-kernel-to-2-6-30-a-733533/)

mcpoon 06-17-2009 02:02 AM

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.

rylan76 06-17-2009 02:25 AM

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.

mcpoon 06-22-2009 05:13 AM

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?

mrrangerman 06-22-2009 06:13 AM

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.

mcpoon 06-27-2009 03:47 AM

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?

reccursive 06-27-2009 03:59 AM

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 :)

fpmurphy 06-27-2009 08:33 AM

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/


All times are GMT -5. The time now is 06:50 PM.