too many versions of the kernel showed when booting

Asked by Vladimir ochoa

When booting, the latest 5 versions of the kernel ( the very last one i have is 2.6.24.23), are listed and showed on the screen. Of course more versions are to come and when downloading them in order to update, more versions are going to be listed and showed on my screen so what i want is to get rid of at least the three oldest versions and just keep the latest two, or simply just keep the newest one. My question is : how can i do so? Thank you very much.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

edit your menu.lst in the /boot/grub folder using sudo & gedit commands. Make sure you save menu.lst as something else before you save changes to menu.lst as you may need to return to the one you know works at the moment (even though its not perfect)

Good luck and regards from
Tom :)

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#2

Hi,

Please follow this solution:

https://answers.launchpad.net/ubuntu/+source/grub/+question/58510

Regards,

Mark

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Please copy and paste the result of this terminal commands.

So, please open a Terminal from the menu Applications → Accessories → Terminal and type:

dpkg -l | grep -i linux-image | grep -i ^ii

Thank you

Revision history for this message
Vladimir ochoa (vlado8adb) said :
#4

* Hi all

       Thanks Tom, Mark Rijckemberg , Marcobra and Menting. I followed your
indications. I just took time because i was not clear of what is going to
happen. Now I'm supposed, as i understood it, to wait "*The change in the
grub-menu-list is done at the first next time the Ubuntu-update is done,
e.g. when you go from the kernel-2.6.24.22 to kernel-2.6.24.23 ... At that
moment the grub menu is re-created and the item "howmany=2" is used to
shorten the list." * (qoute from Menting post* *on 2009-02-07 .)

*

Revision history for this message
Vladimir ochoa (vlado8adb) said :
#5

    Hi all

       Thanks Tom, Mark Rijckemberg , Marcobra and Menting. I followed your indications. I just took time because i was not clear of what is going to happen. Now I'm supposed, as i understood it, to wait "The change in the grub-menu-list is done at the first next time the Ubuntu-update is done, e.g. when you go from the kernel-2.6.24.22 to kernel-2.6.24.23 ... At that moment the grub menu is re-created and the item "howmany=2" is used to shorten the list." (qoute from Menting post on 2009-02-07 .)

Revision history for this message
Tom (tom6) said :
#6

Please re-post this as a new question. We tend to only look through un"Solved" questions when we look for questions that need answering. Sadly we also only tend to look at the most recent questions as they arise
https://answers.launchpad.net/ubuntu/+source/grub/+addquestion

Good luck and regards from
Tom :)