GRUB line displaying duplicate os..

Asked by dD3v1L

Hi i just upgraded from 7.10 to 8.04. After the upgrade, i noticed that during bootup in the GRUB lines, there are 3 selections for hardy heron. How do i delete the duplicate? thnx :D

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
Thinboy00
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

The duplicate rows are different kernel rows... for the same Ubuntu 8.04 system....
You can remove old kernel... and the rows will disappear...

Open a Terminal from the menu Applications->Accessories->Terminal copy and paste here the result of this command copy and paste it into terminal:

dpkg -l | grep -i linux-image

Thank you

Revision history for this message
dD3v1L (ktuluulutk) said :
#2

This is what i get when running the command:
ii linux-image-2.6.22-14-generic 2.6.22-14.52 Linux kernel image for version 2.6.22 on x86
ii linux-image-2.6.24-16-generic 2.6.24-16.30 Linux kernel image for version 2.6.24 on x86
ii linux-image-2.6.24-17-generic 2.6.24-17.31 Linux kernel image for version 2.6.24 on x86
ii linux-image-generic 2.6.24.17.19 Generic Linux kernel image

How do I remove old kernels then?

Revision history for this message
Best Thinboy00 (thinboy00) said :
#3

Why do you want to get rid of them? They can be useful if your kernel gets screwy (admittedly a rare event). If grub is taking to long to boot, go to Applications->Add/remove and look for a "start-up manager". Its icon is a wrench with a red handle oriented like a \ and there are two of it in the list (don't ask why, I have no idea). You can adjust the time you have to wait before Grub will boot with default options like this:
System->Administration->StartUp Manager->Use timeout in bootloader menu. So, is there really a reason for getting rid of them? If so, you can (from the startup manager) go to the advanced tab and limit/adjust the number of kernels to keep.

Revision history for this message
Thinboy00 (thinboy00) said :
#4

oh, and btw, the "duplicates" are slightly different.

Revision history for this message
dD3v1L (ktuluulutk) said :
#5

Thnx guys.. I didnt know tht having a few kernels are necessary.. I just don't like it to be cluttered, thts all. I guess I'll just keep it that way, then. Thanks again :D

Revision history for this message
dD3v1L (ktuluulutk) said :
#6

Thanks Thinboy00, that solved my question.