LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-02-2005, 09:54 PM   #1
derek8128
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Help Downgrading Kernel


I am setting up a linux box, and its sole purpose will be to run MythTV PVR.

I installed Fedora 4, and following the guide at wilsonet.com, I ran yum upgrade which moved my kernel from 2.6.12 to 2.6.13. The problem is, that IVTV only has support to 2.6.12. As a result, I need to downgrade it to 2.6.12 so I can carry on building my PVR box

So, as a newbie, how do I accomplish this (a step by step guide would be awesome...) ?

When I go to /usr/src/kernels I see:


drwxr-xr-x 17 root root 4096 Sep 29 22:42 2.6.11-1.1369_FC4-i686
drwxr-xr-x 17 root root 4096 Sep 29 23:42 2.6.12-1.1456_FC4-i686
drwxr-xr-x 17 root root 4096 Sep 29 23:57 2.6.13-1.1526_FC4-i686


What this means, I have no idea...I just thought it may be useful to anyone who may be able to help me!! LOL!!

Thanking anyone in advance,

Derek
 
Old 10-02-2005, 11:57 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Unless you deleted it (which is very unlikely), the 2.6.12 kernel is still present on your system and the commands to start it should still be available in the initial grub boot menu (i.e., where it says something like “press any key...”).

You can make it the default kernel by changing the default= value in /boot/grub/grub.conf to match it's position in the list minus one, since all counting in grub starts at zero. For example, if it is the second kernel in the list, then default=1 (grub default = 2 – 1).
 
Old 10-03-2005, 12:17 AM   #3
isd2301
Member
 
Registered: Mar 2005
Location: Chula Vista, CA, USA
Distribution: Ubuntu, Fedora
Posts: 41

Rep: Reputation: 15
Actually that info is very helpful. It shows that you still have two previous kernel versions on your system. Including the one you want to use. All you have to do is open a terminal in root (su) and edit your grub.conf file to use the 2.6.12-1.1456_FC4-i686 kernel as default. The grub.conf file is located in /boot/grub. So, as root (su), using a text editor such as gedit (Gnome) or kate (KDE) type:

gedit /boot/grub/grub.conf for Gnome, or kate /boot/grub/grub.conf for KDE

This should open the grub.conf file. Now you need to modify the line default=0 to select the kernel you want. The kernels boot in the order they are listed, starting with 0, then 1, then 2....and so on. The default number is what chooses the default boot kernel and the kernel line to look for is the line: title Fedora Core (2.6.12-1.1456_FC4). Therefore, if the 2.6.12 kernel is the second kernel in the list then the 'default=' line should be changed to default=1 , if it is the third kernel in the list, the 'default=' line would be default=2...Remember, counting starts with 0 not 1. Now save the grub.conf file, reboot and the kernel you selected will be the one that boots.
 
Old 10-03-2005, 12:22 AM   #4
isd2301
Member
 
Registered: Mar 2005
Location: Chula Vista, CA, USA
Distribution: Ubuntu, Fedora
Posts: 41

Rep: Reputation: 15
Sorry WhatsHisName...I got sidetracked and waited too long to submit my post. I wasn't trying to double up on you.
 
Old 10-04-2005, 07:42 AM   #5
derek8128
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks...that waws too easy!!

Thanks for your help. I had no idea it was going to be that easy! I was reading about the force install of the RPMs for a previous kernel and that was more than a little intimidating. When I saw the 3 listings in the /usr/src/kernels folder I had hope!

Thanks again for helping the noob....now if there was only a driver for my wireless card....
 
  


Reply



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
Downgrading a 2.6 Kernel to 2.4 joeyjwc Linux - Software 4 10-10-2005 02:04 PM
downgrading kernel server-solution Linux - Software 2 10-08-2005 01:08 AM
downgrading Kernel SUSE jax8 Linux - Newbie 6 12-22-2004 04:51 AM
Downgrading Mandrake 10 kernel to kernel-2.4.22.10mdk-1-1mdk windeath Mandriva 4 05-11-2004 07:21 PM
downgrading kernel? nasim Linux - Newbie 8 05-05-2002 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10: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
Open Source Consulting | Domain Registration