LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-19-2006, 02:46 PM   #1
d_GeNeRiT
LQ Newbie
 
Registered: May 2004
Location: Miami, FL
Distribution: Fedora Core 5
Posts: 28

Rep: Reputation: 15
duplicate entries in grub


Hello all,

I am a newbie just learning Linux. I dual boot Windows XP Pro with Fedora 4.

I did a yum update recently and it seems to have updated my kernel version as well. Now there are 3 entries in GRUB splash screen.

1) Fedora 136
2) Fedora 156
3) Win XP Pro

When I booted into the newest Fedora Kernel I had to install the NVidia driver all over again. I have 2 questions about this:

1) How can I get rid of the old fedora entry in grub? And if I delete it should I also delete the old files of the old kernel or keep them just in case I cannot boot into the newer Fedora Kernel?

2) How can I configure yum updater to not update the kernel in the future? (The first time I ran yum update it downloaded almost 600MB of stuff!!)

Thanks guys. I am very happy with Fedora so far and as soon as I learn how to run MS Office and DVDShrink 3.2 in WINE I can pitch Win XP altogether.
 
Old 01-19-2006, 03:09 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
I would keep the old kernel around for a while just to be sure. When you do want to remove a kernel, this is how I do it as root ( su - ).

uname -r # Just to be sure what kernel you are using
rpm -qa | grep kernel

yum remove old_kernel_with_numbers

rpm -qa | grep kernel


If you don't want to do kernel updates, put a line in /etc/yum.conf
exclude=kernel*
 
Old 01-26-2006, 12:18 AM   #3
d_GeNeRiT
LQ Newbie
 
Registered: May 2004
Location: Miami, FL
Distribution: Fedora Core 5
Posts: 28

Original Poster
Rep: Reputation: 15
Thank You very much Homey,

This information was just what I needed and solved my problem. I am very grateful for such a fast and accurate response.

If there was a reputation system on this board I would definately give you rep points.

If such a system exists please advise.
 
Old 01-26-2006, 12:43 AM   #4
linuxbotx
Member
 
Registered: Oct 2003
Location: USA
Distribution: Fedora Core 4
Posts: 247

Rep: Reputation: 30
easiest way is to do this:

log in as root

go to /boot/grub

edit menu.lst

delete the entries you don't want.

save file and exit

restart computer.
 
Old 01-26-2006, 04:35 AM   #5
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
That last method doesn't actually remove the kernel however, it just removes it from the boot options list (which may or may not be what you want). Incidentally, menu.lst is just a symlink to grub.conf.
 
Old 01-26-2006, 07:22 AM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Quote:
Originally Posted by d_GeNeRiT
Thank You very much Homey,

This information was just what I needed and solved my problem. I am very grateful for such a fast and accurate response.

If there was a reputation system on this board I would definately give you rep points.

If such a system exists please advise.
No, (it's been discussed) but you can rate the thread.
 
  


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
Duplicate entries in RPM database -- different architectures fiservguy Red Hat 3 01-19-2006 07:17 PM
Duplicate Entries OpenSuSE 10.0 TMan459 Suse/Novell 3 10-19-2005 04:43 AM
Duplicate Mail makko Linux - Software 3 03-03-2005 08:07 AM
need help booting the system - duplicate /etc/inittab entries? ksgill Linux - Newbie 1 05-10-2004 07:47 AM
GRUB entries in the boot-menu shankariyer Red Hat 7 12-10-2003 03:46 AM


All times are GMT -5. The time now is 05:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration