LinuxQuestions.org
Register a domain and help support LQ
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 11-17-2005, 03:51 AM   #1
Anden008
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu 10.4
Posts: 29

Rep: Reputation: 15
Update kernel?


Hi.. I reasently updated my kernel from FC4 2.6.13.1 to 2.6.14.1. But now I cant load some of my modules..
Is it possibly to remove the new kernel and just use 13.1 as default again? And is that a bad idea?

In the future when I run: yum update
is it possible to add a parameter so my kernel isnt updated?

thx
 
Old 11-17-2005, 04:25 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Please forgive my ignorance. I have not yet used any version of FC.

First question: When yum updates a kernel, does it also run make modules and make modules_install?

Second question: have you looked into the /boot directory to see if the original vmlinuz is still there?

Third question: have you inspected grub.conf to see if there is still an entry pointing to the original kernel?

Fourth question: have you looked into /lib/modules to see if you have a parallel set of modules; the original and the new.

If the original kernel and lib/modules are still there, then you should be able to edit grub.conf to point to the original compressed kernel image and boot into the original kernel. Then delete all of the new stuff and try again.
 
Old 11-17-2005, 04:38 AM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
First of all, when Yum installs a new kernel in Fedora Core, it doesn't remove the old one; so you can always choose to boot an older kernel in the menu when you boot up.

What kind of problems are you having with the new kernel? If you use any separate kernel modules like NTFS or 3D graphics card drivers, you will need to install them again for the new kernel since they are compiled for specific kernels.
 
Old 11-17-2005, 05:49 AM   #4
Anden008
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu 10.4
Posts: 29

Original Poster
Rep: Reputation: 15
thx for the answers.. but I found my answer in another thread in another forum:

Anyway, removing a kernel can be done easily:
- issue:
Code:

rpm -qa | grep kernel


to list all the kernel (and kernel related) rpms on your system, then:
Code:

yum remove <package_1> <package_2>...


to remove the unwanted ones.

If you don't want yum to update your kenrel anymore, just add the --exclude=kernel* option to your yum command line.
 
  


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 with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 11:27 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 04:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 12:01 PM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 07:13 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 05:25 PM


All times are GMT -5. The time now is 08:27 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