Desinstalar kernel viejos
Mauricio J. Adonis C.
mike.alfa.2007 en gmail.com
Mie Oct 28 15:49:31 GMT 2009
El mié, 28-10-2009 a las 09:16 +0000, David escribió:
> Hola Listeros:
> Hace poco se me actualizó el kernel de mi Ubuntu 8.04.2 y en el menú del GRUB me encontré con múltiples kernels entre los que elegir para arrancar mi Ubuntu, para que no me mostrase tantas opciones al inicio comenté los Kernels más antiguos en menu.lts y ya no me los muestra.
> Ahora deseo desinstalar los kernel antiguos que no utilizo y que comenté en el menu.lts, para hacer esto me fui a Synantic pero éste no me muestra ningún kernel ni viejo ni nuevo, mi consulta es la siguiente, ¿cómo podrÃa desinstalar los kernels viejos sin estropear los que me muestra el menú de GRUB?.
>
> Por si os sirve de algo, aquà teneis mi menu.lts
>
> menu.lst - See: grub(8), info grub, update-grub(8)
> # grub-install(8), grub-floppy(8),
> # grub-md5-crypt, /usr/share/doc/grub
> # and /usr/share/doc/grub-doc/.
>
> ## default num
> # Set the default entry to the entry number NUM. Numbering starts from 0, and
> # the entry number 0 is the default if the command is not used.
> #
> # You can specify 'saved' instead of a number. In this case, the default entry
> # is the entry saved with the command 'savedefault'.
> # WARNING: If you are using dmraid do not use 'savedefault' or your
> # array will desync and will not let you boot your system.
> default 0
>
> ## timeout sec
> # Set a timeout, in SEC seconds, before automatically booting the default entry
> # (normally the first entry defined).
> timeout 10
>
> title Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic
> root (hd0,2)
> kernel /vmlinuz-2.6.24-25-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro quiet splash
> initrd /initrd.img-2.6.24-25-generic
> quiet
>
> title Ubuntu 8.04.3 LTS, kernel 2.6.24-25-generic (recovery mode)
> root (hd0,2)
> kernel /vmlinuz-2.6.24-25-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro single
> initrd /initrd.img-2.6.24-25-generic
>
> title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
> root (hd0,2)
> kernel /vmlinuz-2.6.24-24-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro quiet splash
> initrd /initrd.img-2.6.24-24-generic
> quiet
>
> title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
> root (hd0,2)
> kernel /vmlinuz-2.6.24-24-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro single
> initrd /initrd.img-2.6.24-24-generic
>
> title Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic
> root (hd0,2)
> kernel /vmlinuz-2.6.24-23-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro quiet splash
> initrd /initrd.img-2.6.24-23-generic
> quiet
>
> title Ubuntu 8.04.3 LTS, kernel 2.6.24-23-generic (recovery mode)
> root (hd0,2)
> kernel /vmlinuz-2.6.24-23-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro single
> initrd /initrd.img-2.6.24-23-generic
>
> # title Ubuntu 8.04.3 LTS, kernel 2.6.24-22-generic
> # root (hd0,2)
> # kernel /vmlinuz-2.6.24-22-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro quiet splash
> # initrd /initrd.img-2.6.24-22-generic
> # quiet
>
> # title Ubuntu 8.04.3 LTS, kernel 2.6.24-22-generic (recovery mode)
> # root (hd0,2)
> # kernel /vmlinuz-2.6.24-22-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro single
> # initrd /initrd.img-2.6.24-22-generic
>
> # title Ubuntu 8.04.3 LTS, kernel 2.6.24-21-generic
> # root (hd0,2)
> # kernel /vmlinuz-2.6.24-21-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro quiet splash
> # initrd /initrd.img-2.6.24-21-generic
> # quiet
>
> # title Ubuntu 8.04.3 LTS, kernel 2.6.24-21-generic (recovery mode)
> # root (hd0,2)
> # kernel /vmlinuz-2.6.24-21-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro single
> # initrd /initrd.img-2.6.24-21-generic
>
> # title Ubuntu 8.04.3 LTS, kernel 2.6.24-19-generic
> # root (hd0,2)
> # kernel /vmlinuz-2.6.24-19-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro quiet splash
> # initrd /initrd.img-2.6.24-19-generic
> # quiet
>
> # title Ubuntu 8.04.3 LTS, kernel 2.6.24-19-generic (recovery mode)
> # root (hd0,2)
> # kernel /vmlinuz-2.6.24-19-generic root=UUID=838a91b3-0754-405a-8005-2379df88d33a ro single
> # initrd /initrd.img-2.6.24-19-generic
>
> title Ubuntu 8.04.3 LTS, memtest86+
> root (hd0,2)
> kernel /memtest86+.bin
> quiet
>
> ### END DEBIAN AUTOMAGIC KERNELS LIST
>
> # This is a divider, added to separate the menu items below from the Debian
> # ones.
> title Other operating systems:
> root
>
>
> # This entry automatically added by the Debian installer for a non-linux OS
> # on /dev/sda1
> title Microsoft Windows XP Professional
> root (hd0,0)
> savedefault
> makeactive
> chainloader +1
>
Para borrar versiones antiguas del kernel, que no estás usando, abre
Synaptic, En la ventana de la izquierda ordena por Secciones y después
selecciona «Sistema base» y en búsqueda rápida pon «image». Te van a
aparecer una serie de linux-image-*** instalados. Estos son los paquetes
correspondientes a los núcleos (kerneles) instalados, marca los que
quieras desinstalar (van a estar en verde), pero por favor, no los
borres todos, deja por lo menos el más reciente (yo por seguridad
mantengo 2 instalados) o vas a tener un gran dolor de cabeza después...
Adicionalmente a esto, es conveniente también desinstalar sus
correspondientes headers, que no se borran automáticamente; estos no te
servirán y ocupan muchos megas de espacio. Para hacerlo, en la venta
izquierda pon «Todo» y en búsqueda rápida «header». Selecciona para
borrar los paquetes correspondientes a los núcleos eliminados
anteriormente.
Si el paquete restricted-modules no se borra automáticamente con el
núcleo correspondiente, lo haces a mano.
No estoy seguro si una vez eliminados los núcleos, el
archivo /boot/grub/menu.lst se edita automáticamente, pero de no ser asÃ
simplemente lo abres...
$ sudo gedit /boot/grub/menu.lst
... y borras todas las entradas a los núcleos que estén obsoletas.
--
Saludos,
Mauricio J. Adonis C.
---------------------------------------------------------------------------
Usuario Linux # 482032
Usuario Ubuntu # 25554
Ubuntu Code of Conduct - 1.0.1 signatario
(FD9329AC66C0907805831BF8E8D0B29A3AE3D244)
---------------------------------------------------------------------------
------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre : no disponible
Tipo : application/pgp-signature
Tamaño : 197 bytes
Descripción: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : https://lists.ubuntu.com/archives/ubuntu-es/attachments/20091028/e41b3293/attachment-0001.pgp
Más información sobre la lista de distribución ubuntu-es