Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-03-2007, 04:16 PM
|
#1
|
Member
Registered: Feb 2007
Distribution: Fedora 10/Mint 5 KDE
Posts: 69
Rep:
|
How to upgrade Linux kernel on Fedora 6?
According to kernel.org, the latest stable release is 2.6.21.1. I just updated my kernel today (May 3) and when I enter uname -r, it says the kernel version is 2.6.20-1.2944.fc6. My software updater application says there are no updated packages for my system.
Any suggestions? Thanks.
|
|
|
05-03-2007, 04:28 PM
|
#2
|
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334
Rep:
|
Quote:
Originally Posted by Go2doug
According to kernel.org, the latest stable release is 2.6.21.1. I just updated my kernel today (May 3) and when I enter uname -r, it says the kernel version is 2.6.20-1.2944.fc6. My software updater application says there are no updated packages for my system.
Any suggestions? Thanks.
|
if you *really* want to upgrade to the latest kernel, you'll need to download the sources, build the kernel, then update your boot loader (probably grub) to load the new kernel.
Most linux distros take a while to release new kernels through their official updates. Typically it's only done when there's a significant improvement or security fix. Upgrading the kernel can have adverse affects on drivers and such, so lots of people prefer to only upgrade when necessary.
I would suggest that, unless you have a *really* good reason, there's no need to upgrade the kernel.
|
|
|
05-03-2007, 05:25 PM
|
#3
|
Member
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175
Rep:
|
Reboot and select the new kernel from the grub menu. Then try again uname -r
|
|
|
05-03-2007, 06:15 PM
|
#4
|
Member
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37
Rep:
|
BrianK is quite right.
Although the "vanilla" a.k.a the "Linus" kernel, v. 2.6.21 has been released 10 days ago, it will take a few more days/weeks until distros pick it up, compile it and release it for general use. It gives the various Linux vendors some time to add their black magic to the mix (by turning on/off various parameters) before compiling. There is usually no rush to upgrade and I trust the kernel masters at Red Hat will do a better job than me in optimizing the next Fedora kernel, just because they've been doing it for quite a while.
If you're still interested in building a vanilla kernel, I'd suggest you read Linux Kernel in a Nutshell, by Greg Kroah-Hartman, a kernel developer himself. You can buy it from O'Reilly or download PDF chapters on the author's web site.
|
|
|
05-04-2007, 09:38 AM
|
#5
|
Member
Registered: Feb 2007
Distribution: Fedora 10/Mint 5 KDE
Posts: 69
Original Poster
Rep:
|
Quote:
Originally Posted by axelfc
Reboot and select the new kernel from the grub menu. Then try again uname -r
|
I actually have 3 Linux distro's installed, and since I installed Kubuntu last, when I boot up I get Kubuntu's grub.
I updated the kernel of my OpenSUSE installation, and now when I select that OS in GRub, it says "Error 15: file not found". The grub entry for openSUSE is "2.6.18.8-0.1" and I'm sure the kernel update changed that version number, so now grub won't see "2.6.18.8-0.1" since it doesn't exist anymore. Anyone know how I can fix this?
|
|
|
05-04-2007, 10:13 AM
|
#6
|
Member
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175
Rep:
|
Log in Kubuntu and mount the SUSE partition. Look in there under /boot for some file names such as vmlinuz-2.6.18.8-0.1 and initrd-2.6.18.8-0.1.img, in the place of 2.6.18.8-0.1 there should be the new kernel. Now edit your Kubuntu's menu.lst and replace the old kernel with the new one.
|
|
|
05-04-2007, 10:45 AM
|
#7
|
Member
Registered: Feb 2007
Distribution: Fedora 10/Mint 5 KDE
Posts: 69
Original Poster
Rep:
|
Quote:
Originally Posted by axelfc
Log in Kubuntu and mount the SUSE partition. Look in there under /boot for some file names such as vmlinuz-2.6.18.8-0.1 and initrd-2.6.18.8-0.1.img, in the place of 2.6.18.8-0.1 there should be the new kernel. Now edit your Kubuntu's menu.lst and replace the old kernel with the new one.
|
Awesome advice! I just had to change the "1" at the end of the version number to "3" and now openSUSE boots up. Thanks a lot.
|
|
|
05-04-2007, 10:50 AM
|
#8
|
Member
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568
Rep:
|
Although I broadly agree with BrianK and bouchecl, if you still want to give it a try to build a custom kernel, it is plenty of guides out there to help you. Here's one: http://www.digitalhermit.com/linux/K...ild-HOWTO.html
I am currently running a custom 2.6.20.11 on my home AMD Athlon 3200+ machine. I tried to configure and remove too many of unneeded drivers at first. I removed too much, so it failed to recognise my sata raid setup. I had to reboot to the old kernel, rebuild the kernel with a previous config instead.
So there are some pitfalls, but my system is fine now
Good luck if you go ahead.
By the way, Fedora 7 is coming in 20 days time with the new 2.6.21 kernel, so you can wait and upgrade to that instead too...
|
|
|
05-04-2007, 07:54 PM
|
#9
|
Member
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37
Rep:
|
I picked this up in the latest Fedora News, which might be of interest to the readers of this thread:
|
|
|
All times are GMT -5. The time now is 01:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|