Multiple Options in grub

Tom H tomh0665 at gmail.com
Wed Nov 4 06:21:04 UTC 2009


On Wed, Nov 4, 2009 at 7:06 AM, vijay shanker <vijay.shad at gmail.com> wrote:

> There is something i need to share and ask for your comments

> I have been using UBUNTU for many years; But still a partial user; dont have
> a in depth knowledge.

> On my box i first installed ubuntu 8. And when it was announced to release
> of 9.0.24, i upgraded to the latest version of ubuntu. And Now i am upgraded
> to 9.10

> Now when my box boots it gives me a lot of options to choose.

> Ubutntu 9.10 , karnel 2.6.31-14-generic
> Ubutntu 9.10 , karnel 2.6.31-14-generic (recovery mode)
> Ubutntu 9.10 , karnel 2.6.26-16-generic
> Ubutntu 9.10 , karnel 2.6.26-16-generic (recovery mode)
> Ubutntu 9.10 , karnel 2.6.28-15-generic
> Ubutntu 9.10 , karnel 2.6.28-15-generic (recovery mode)
> Ubutntu 9.10 , karnel 2.6.26-7-generic (recovery mode)
> Ubutntu 9.10 , karnel 2.6.26-7-generic (recovery mode)

> Of course, i choose top one form thee list.

> Can any body describe the situation for me? Is there any way i can go and
> configure the options?  Does my system has 4 kernels as options; if yes i
> must remove all old kernel?

I would like to echo what Leonard has said. You have all the kernels
installed and you can remove some of them. You should keep 2.6.31-14
and an older kernel (I would choose 2.6.28-15 but I am sure that you
would get more opinions than you have kernels if you asked any Linux
list which kernels to keep).

To get the package names:
# aptitude search linux-image | grep ^i

To purge your unwanted kernels (for example):
# aptitude purge linux-image-2.6.26-7-generic
# aptitude purge linux-image-2.6.26-16-generic

Do not:
# aptitude purge linux-image-generic

Or:
# aptitude purge linux-image-2.6.31-14-generic

Once you have run the "aptitude purge" commands:
# update-grub
whether you are using grub 1 or grub 2
and either /boot/grub/menu.lst or /boot/grub/grub.cfg will be updated.




More information about the ubuntu-users mailing list