Fedora Linux Support Community & Resources Center
  #1  
Old 12th May 2004, 01:51 AM
ihadam1 Offline
Registered User
 
Join Date: May 2004
Posts: 1
Grub problem after up2date

First of all, I'm new to all this, so I'm sure I'm just overlooking something very simple.

I recently installed Fedora onto my machine along with Windows XP, using GRUB to choose between to the two at startup. Everything was working great at this point. GRUB would start up with two options:
"Fedora Core (2.4.22-1.2115.nptl)"
"DOS"

Once I loaded Fedora for the first time, I ran up2date and I believe what I did was download the newer version of the Fedora kernel. Now when I boot up, GRUB lists three options (all of which work):
"Fedora Core (2.4.22-1.2188.nptl)"
"Fedora Core (2.4.22-1.2115.nptl)"
"DOS"

All I want are the most recent version of Fedora and DOS; I don't need the older version to still be an option.

How would I go about getting rid of this old version either from my computer or just from the GRUB list? Any help would be greatly appreciated.

Thanks! - Adam
Reply With Quote
  #2  
Old 12th May 2004, 02:31 AM
jrblevin's Avatar
jrblevin Offline
Registered User
 
Join Date: May 2004
Posts: 53
Removing old kernel RPMs

up2date installs the new kernel alongside the old one in case there is a problem, so you can boot the old one. If you only want to remove the Grub entry, you could just edit boot/grub/grub.conf and remove the lines associated with the old kernel. This is the sloppy way of going about it and will leave behind lots of files on your system.

If you want to be proper about it and remove all the files from the old kernel, you should uninstall the RPM for the old kernel. Running "rpm -e kernel-2.4.22-1.2115.nptl" as root should remove the old kernel files and the associated Grub menu entry.

You should doublecheck the package name first though by running "rpm -q kernel". This will list the kernel packages you have, then just choose the name of the old package and do "rpm -e kernel-<oldversion>".
Reply With Quote
  #3  
Old 12th May 2004, 02:32 AM
jrblevin's Avatar
jrblevin Offline
Registered User
 
Join Date: May 2004
Posts: 53
Also, if you installed the kernel source code, you will want to uninstall the old "kernel-source" package.
Reply With Quote
  #4  
Old 14th May 2004, 01:24 AM
gonzalo76's Avatar
gonzalo76 Offline
Registered User
 
Join Date: Feb 2004
Location: Buenos Aires, ARG
Age: 37
Posts: 320
You should follow jrblevin's instruccion for deleting a kernel, anyway it's a good idea to leave it just in case of anything goes wrong with the actual running kernel.
You can 'comment' the old kernel lines with '#' if you don't want this kernel to appear as a boot option in /boot/grub/menu.lst.
Open a Terminal, log in as root with 'su -" command and type:
Code:
gedit /boot/grub/menu.lst
Code:
#title GNU/Linux Fedora Core 1
#	root (hd0,2)
#	kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi apm=off acpi=on vga=788
#	initrd /boot/initrd-2.4.22-1.2115.nptl.img
Something stupid:
If I have Windows XP or 98 or whatever, I would like to see the exact Windows version in GRUB's boot menu. I mean, I don't like to see DOS as an option if I don't have it. DOS is not Windows XP, so why do I have to select DOS to start Windows XP?

Well, the solution is editing /boot/grub/menu.lst like this:

1. Open a Terminal, log in as root with 'su -' command and type:
Code:
gedit /boot/grub/menu.lst
2. Delete 'DOS' and add "Windows XP' like this:
Code:
title Microsoft Windows XP Pro
	rootnoverify (hd0,0)
	chainloader +1
3. Save it and reboot.
Good Luck !
__________________
Greetings :)
gonzalo

Last edited by gonzalo76; 14th May 2004 at 03:25 AM.
Reply With Quote
Reply

Tags
grub, problem, up2date

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Up2Date Problem Fric Using Fedora 3 20th April 2005 02:07 PM
Up2date problem in FC2? Confused EOL (End Of Life) Versions 16 3rd January 2005 06:01 PM
up2date problem jlr Using Fedora 5 28th September 2004 10:33 PM


Current GMT-time: 02:30 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat