several ubuntu option to boot

Asked by randy

hi, installed ubuntu but after the installation there are several option to choose whenever i start my computer. here are the options:

ubuntu 8.04.1, kernel 2.6.24-19-generic
ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
ubuntu 8.04.1, kernel 2.6.24-16-generic
ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
ubuntu 8.04.1, kernel memtest86+

other operating system
windows vista

my question is how can i remove the other option? i only want the option ubuntu 8.04.1, kernel 2.6.24-19 generic and windows vista. thanks!

Question information

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

To help you better we need some infos about your hardware so please open a Terminal from the menu Applications->Accessories->Terminal and type:

uname -a

copy and paste result here.

Thank you

Revision history for this message
randy (ynardz) said :
#2

ynardz@boad:~$ uname -a
Linux boad 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux
ynardz@boad:~$

--- On Sun, 9/7/08, marcobra <email address hidden> wrote:
From: marcobra <email address hidden>
Subject: Re: [Question #44385]: several ubuntu option to boot
To: <email address hidden>
Date: Sunday, September 7, 2008, 7:05 AM

Your question #44385 on firefox-3.0 in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/firefox-3.0/+question/44385

    Status: Open => Needs information

marcobra requested for more information:
To help you better we need some infos about your hardware so please open
a Terminal from the menu Applications->Accessories->Terminal and type:

uname -a

copy and paste result here.

Thank you

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/firefox-3.0/+question/44385

You received this question notification because you are a direct
subscriber of the question.

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

Randy...
Please don't reply via mail to launchpad mail notification but visit directly your question Launchpad site link.

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

Replying via mail to launchpad message might expose your email address to the net and you will give a lot of
spam.

Thank you

------------------------------------

You can remove unused kernel to have less items on Grub menu at pc boot.

Open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo apt-get --purge remove linux-image-2.6.24-16-generic
sudo apt-get autoremove

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

-------------------------------------

You can also remove from Grub other items but i strongly suggest you to live them in place so you will be able to enter in recovery mode if you have issue or to check your memory.
Also you will can get better help in the future if don't touch this standard items of Ubuntu.

Hope this helps

Revision history for this message
Best Angel Ramirez Isea (angel-ramirez-isea) said :
#4

Hi, randy. Open a terminal, and issue these commands:

sudo cp /boot/grub/menu.lst /boot/grub/menu.old1
sudo gedit /boot/grub/menu.lst

The first one makes a backup copy of your menu.lst file (just in case).
The second one should open the text editor and show you the items that appear when you boot up. Be careful, and remove whole blocks of the entries you don't want. For example, in my machine, a "whole block" looks like this:

title Xubuntu 8.10a4, kernel 2.6.27-2-generic
root (hd0,3)
kernel /vmlinuz-2.6.27-2-generic root=UUID=19b7581c-2de6-468c-81a8-cac5796be15b ro quiet splash xforcevesa
initrd /initrd.img-2.6.27-2-generic
quiet

(From "title" to "quiet").

Those blocks are added everytime you update your kernel. Remover all but the one you want ONLY if you are sure everything is working as it should. Sometimes updates contain minor bugs and it's alwasy a good idea to have an "old" kernel to fall back on.

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#5

Oops! It looks like marcobra and I were typing at a bout the same time :P And his answer looks a lot easier and less risky than mine, randy.

Use mine only in case you'd like to experiment a little more.

Thanks, marcobra.

Revision history for this message
randy (ynardz) said :
#6

thanks a lot!!! i really appreciate your help!!!

Revision history for this message
randy (ynardz) said :
#7

im so sorry for that macobra.. but i appreciate your patience. thanks a lot!!!

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

Only one for the other casual user that read this thread...

After making the Angel Ramírez Isea suggestion i think may be laso a good idea to perform an upgrade-grub command, to be sure the system have no issue to perform it when requested for example by kernel upgrade.

Open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo upgrade-grub

give your user password when requested, you don't see nothing when you type it, then press enter.

Thank you