[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cambiar de kernel en Jessie



El Mon, 12 Oct 2015 17:55:06 +0200, Josu Lazkano escribió:

> Gracias por las respuestas.
> 
> Tengo estos kernels instalados:
> 
> # dpkg -l | grep linux-image ii  linux-image-3.16.0-4-amd64          
> 3.16.7-ckt11-1+deb8u4        amd64        Linux 3.16 for 64-bit PCs
> ii  linux-image-3.16.0-900-amd64         3.16.7-ckt11-1        amd64        Linux 3.16 for 64-bit PCs
> rc  linux-image-4.1.0-900-amd64          4.1.6-1~bpo8+1        amd64        Linux 4.1 for 64-bit PCs
> ri  linux-image-4.1.0-901-amd64          4.1.6-1~bpo8+1        amd64        Linux 4.1 for 64-bit PCs
> ii  linux-image-amd64                    3.16+63       	 amd64        Linux for 64-bit PCs (meta-package)

Fíjate en las dos letras iniciales (rc/ri), son importantes ;-)
 
> He probado a hacer esto:
> 
> apt-get remove linux-image-4.1.0-901-amd64 linux-image-4.1.0-900-amd64
> 
> Y me da este aviso:
> 
> You are running a kernel (version 4.1.0-901-amd64) and attempting to
> remove the same version.
> This can make the system unbootable as it will remove
> /boot/vmlinuz-4.1.0-901-amd64 and all modules under the directory
> /lib/modules/4.1.0-901-amd64. This can  only be fixed with a copy of the
> kernel image and the corresponding modules.
> It is highly recommended to abort the kernel removal unless you are
> prepared to fix the system after removal.
> 
> Abort kernel removal?
> 
> De momento he detenido la instalacion.

Te dice que estás ejecutando un kernel que quieres eliminar, de ahí el 
aviso. Normalmente no pasa nada por continuar pero lo normal es que 
inicies con un kernel que no vayas a borrar, claro.
 
> He probado a cambiar el arranque poniendo esto en /etc/default/grub
> 
> GRUB_DEFAULT=1
> 
> # update-grub2 Generating grub configuration file ...
> Found linux image: /boot/vmlinuz-4.1.0-901-amd64 Found initrd image:
> /boot/initrd.img-4.1.0-901-amd64 Found linux image:
> /boot/vmlinuz-3.16.0-900-amd64 Found initrd image:
> /boot/initrd.img-3.16.0-900-amd64 Found linux image:
> /boot/vmlinuz-3.16.0-4-amd64 Found initrd image:
> /boot/initrd.img-3.16.0-4-amd64 done
> 
> Pero siempre me arranca con el kernel 4.1.

Porque será la tercera opción del menú de GRUB (2). Tienes que ver en 
qué posición se encuentra el kernel con el que quieres iniciar.

> ¿Como me recomendais que borre el kernel 4.1?

Como lo estás haciendo, pero bien :-P

Saludos,

-- 
Camaleón


Reply to: