Duplicate kernel entries of Ubuntu 9.04 in GRUB loader
The GRUB loader displays a list of available systems:
Ubuntu 9.04, kernel 2.6.28-15 generic
Ubuntu 9.04, kernel 2.6.28-15 generic (recovery mode)
Ubuntu 9.04, kernel 2.6.28-14 generic
Ubuntu 9.04, kernel 2.6.28-14 generic (recovery mode)
Ubuntu 9.04, kernel 2.6.28-11 generic
Ubuntu 9.04, kernel 2.6.28-11 generic (recovery mode)
Ubuntu 9.04, memtest 86+
Other operating systems:
Windows Vista (loader)
I assume that the kernel 2.6.28-11 and 2.6.28-14 entries are redundant, but how do I remove them? They appeared after Ubuntu updated itself.
Look for an entry like this:
i.e. howmany=1 to see only one entry etc.
You need to be root in order to edit the file. Before editing the file, make a backup.
To edit the file, start a terminal and type:
The 2.6.28-11 and 2.6.28-14 entries are for backup if 2.6.28-15 doesn't work. You can hide them by editing menu.lst, but that won't remove them from the system. Open up Synaptic and remove some of the old kernels.
I tried both. The only things I could find in Synaptic relating to the old kernels were a couple of header files, which I removed. Rebooting still showed the same options.
Editing the menu.lst file to howmany=1 also did not change anything after rebooting. Maybe I needed to change a couple of other options in there?
I then edited the file further, deleting the entries at the end of the file containing information about the old kernels. This seems to have done the trick and my computer still works, so I assume I haven't done anything too silly!
Thanks for pointing me in the right direction.
|All times are GMT -5. The time now is 05:55 PM.|