LinuxQuestions.org
Visit Jeremy's Blog.
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 07-29-2005, 11:15 AM   #1
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Rep: Reputation: 15
New GRUB worry after Update


When I updated/upgraded my Fedora Core 2 system I updated the kernel along with most other possible files. Now when GRUB comes up, I have a 3rd option to select and it appears to be the new update.

Does this mean I have 2 installed now? Ack! If so, how do i get rid of the old one or fix GRUB to show the proper one?

Last edited by matrim; 07-29-2005 at 11:18 AM.
 
Old 07-29-2005, 12:33 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to uninstall your old kernels and their entries will be removed from grub. Do as root
Code:
#rpm -qa | grep -i kernel
a list of installed kernels will be listed, so just remove the ones you don't need by doing
Code:
#rpm -e kernel-version
 
Old 07-29-2005, 02:12 PM   #3
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Thanks for the help.
This is what the first command without the # sign did:

kernel-2.6.5-1.358
kernel-source-2.6.5-1.358
kernel-2.6.10-1.771_FC2
kernel-utils-2.4-9.1.131_FC2

I'm confused if i remove the 2.6.5 and source will the 2.6.10 work without kernel-source? Which should i get rid of , if any?
 
Old 07-30-2005, 12:30 AM   #4
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Can anyone help me figure this out? I'm kinda sitting on this thing, and want to make sure i do it right.
 
Old 07-30-2005, 03:12 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by matrim
Can anyone help me figure this out? I'm kinda sitting on this thing, and want to make sure i do it right.
You are not supposed to bump your threads unless you have not got a reply in 24 hours because this sites members live in various time zones so may not have seen your question.

You do not need the kernel source for the kernel to work on your system. The kernel source you have installed is not for the new kernel, so you have to uninstsll it and make sure you install the source for the 2.6.10-1.771_FC2 kernel.

As for the "#", you are not supposed to type it into your commands, its there to indicate that the command is run as root. If there is a "$" sign, it means the commands are run as a normal user.
 
Old 07-30-2005, 10:13 AM   #6
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Ahhh,
Sorry for the impatience on my part, a bit of frustration with having to dump my Redhat 8.0 for Fedora to run some more up to date programs. Thanks for the help and info on posts.

Can you point me in the right direction to download the source? Not sure why I need it then if the kernel will run fine.

Again thanks for the help, ill be more patient
 
Old 07-30-2005, 11:35 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I can't remember exactly how the kernel-source was installed in FC2 (you should really have upgraded to FC3 or even better FC4), so do a google search.
 
Old 07-31-2005, 04:19 PM   #8
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Trying to remove the old kernel produced this error:

error: can't create transaction lock

What can I do?
 
Old 08-01-2005, 02:40 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by matrim
Trying to remove the old kernel produced this error:

error: can't create transaction lock

What can I do?
Err, remember you can only uninstall packages as root.
 
Old 08-02-2005, 01:13 PM   #10
boxerboy
Member
 
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519

Rep: Reputation: 32
as for the extra boot option i have fc4 and asked the same thing after the updates the reply was that it puts it there incase it crashes u have a new start point. i also have to agree with reddazz ive used fc1 and 2 and i installed 4 the other day i have to say i like it better or just learning it more not sure which.
 
  


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
Grub update for 0.94? rusty_slacker Linux - Newbie 5 11-22-2004 01:04 PM
GRUB splashimage configuration / update GRUB rudL Linux - Software 1 05-10-2004 07:16 AM
Should i worry? Hovi Linux - Security 7 01-12-2004 03:16 PM
Update grub during rh install BBehemoth Linux - Software 11 07-19-2003 12:51 PM
TAR errors - to worry or not to worry?? dudeha Linux - General 2 12-31-2002 03:09 PM

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

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