Grub 2 information
Glenn Holmer
shadowm at lyonlabs.org
Sat Apr 3 12:01:35 UTC 2010
On Sat, 2010-04-03 at 05:41 -0600, Karl Larsen wrote:
> I have looked at the wiki for grub 2 with care and have missed the
> way to tell grub 2 to display only 2 kernels. In grub 1 it was a well
> defined place in menu.lst but it must be called something else in grub 2.
>
> I now have 10 kernels because I am updating from Lucid alpha 1. And
> it is a mystery how to cut those down to like 2.
Why don't you just delete those kernels in Synaptic? It will take care
of removing the extra GRUB entries for you.
https://wiki.ubuntu.com/Grub2#Removing%20Entries%20from%20Grub%202
"Kernels removed by Synaptic will automatically update grub.cfg and no
user action is required."
1) use "uname -a" to find out which kernel you are currently running
(e.g. "Linux shoggoth 2.6.32-19-generic...")
2) open Synaptic (System / Administration / Synaptic Package Manager)
3) ctrl-F to search for "-18", "-17"... (older kernels)
4) for each set of search results, delete the entries starting with
"linux-" and including the version to be deleted (e.g.
"linux-headers-2.6.32-18")
5) reboot and the extra menu entries will be gone from GRUB
--
"The text is only a proposition." -Pierre Boulez
Glenn Holmer (Linux registered user #16682) http://www.lyonlabs.org
More information about the ubuntu-users
mailing list