LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-11-2003, 09:39 PM   #1
xred
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Rep: Reputation: 0
Talking After upgrade grub shows 3 entry


Hi;

I have installed Linux 8.0 and managed to dual boot with WIN XP, after doing so i upgrade the kernal for Linux 8.0 to a higher version.

Before the upgrade i only have 2 options for me to choose at thr grub boot screen. After performing the upgrades of the LInux 8.0 kernal, i have 3 options to choose.

HOw do i get rid of the old Linux 8.0 entry on the grub boot screen.


Thanks
 
Old 03-11-2003, 11:41 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
The extra entry is your new kernel. It doesn't hurt to keep the old kernel entry. Be sure to use the new one for a while to make sure it works before trying to remove the old one.

The entries are controlled by grub.conf, which should be in /boot/grub/ . Open it up and take a look at the listings. Find the one that lists your old kernel. It'll look something like...
Code:
title Red Hat Linux (2.4.18-18.8.0)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-18.8.0 ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.18-18.8.0.img
The easiest thing to do is remark out the four lines by adding a # at the front of the line.

But, that doesn't remove the files. There are three files in your /boot/ for each kernel... vmlinuz-2.4.whatever, which is the actual kernel; initrd-2.4.whatever which is the INITial RamDisk; and System.map-2.4.whatever. Delete the entry in grub.conf, and the corresponding three files in /boot/ , and it will be gone.
 
Old 03-12-2003, 04:42 AM   #3
xred
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Ranger Nemo.

I have another prb.

After i reboot my system it's eth0 card could notbe loaded and i try using the system settings> Network to activate the eth0 card but it shows me an error msg "Cannot activate network device eth0"

Any advise.
 
Old 03-13-2003, 12:17 PM   #4
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Presumably your on network then? When going through the LFS book how did you set up the network card?

It may also be a case that the kernel does not have the correct driver loaded for the network card? What make is it?
 
Old 03-13-2003, 07:41 PM   #5
xred
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks CragStar

I have already managed to resolved the issues.....
 
Old 03-13-2003, 10:43 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Moved: This is not Linux From Scratch specific, so its been moved to a more suitable forum.
 
  


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
Software shows conflicts during upgrade to 10.0 marjamar SUSE / openSUSE 1 10-06-2005 10:36 PM
grub entry? quaylet Linux - Newbie 2 06-14-2005 02:30 PM
adding a new entry to grub? dr_zayus69 Linux - Software 8 12-30-2004 03:51 PM
GRUB Entry for 2.6.8 Codegen Linux - Distributions 1 08-14-2004 09:54 PM
adding entry to grub questionasker Linux - General 4 03-18-2004 10:21 AM


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