hola buen dia, tengo Slackware 14.1 y hay actualizaciones para mi kernel pero la ultima vez que lo actualice el sistema ya no cargaba porque lilo decia que el kernel era muy pesado y tuve que volver a instalar el sistema.
Quiero actualizar el kernel pero sin que me pase lo mismo, que puedo hacer?
Nunca use esa distro, pero que significa que el kernel era "muy pesado"? Alguna vez me paso que si tenía /boot en una partición a parte de / y no tenía suficiente espacio para la instalación pues quedaba algo jodido, pero no se si es el caso.
CitarLILO Loading slackware is big;kernel setup
algo asi
Pues google dice que tienes que comprimir la imagen después de haberla compilado. Nunca he tenido ese problema con GRUB pero bueno siempre lo he usado en una distro con un manejador de paquetes robusto que hace todo por mí y rara vez me he metido a despellejar mi kernel.
Ok, vere mejor si puedo pasar de lilo a grub...
LInux LOader quedó prácticamente obsoleto y hasta creo que sin soporte. Pásate a grub. La imagen del vmlinuz es más grande, probaste usar bzImage?
[N]ation Special Edition by ice
ice.modding puse lilo porque lo trae por defecto Slackware 14.1 no tenia idea de que ya es obsoleto, peor voy a ver al respecto de lo que comentas,,,,
lilo funciona perfectamente, cuando instalas un nuevo kernel (o recompilas) tienes que añadir una entrada a /etc/lilo.conf y correr lilo sin ningún parámetro para que apunte a él.
# lilo
http://docs.slackware.com/howtos:slackware_admin:kernelbuilding
creo que eso es lo que necesitaba
Slava_TZD, yo la vez pasada cuando me dio el error lo actualice con el comando
slackpkg update y
slackpkg upgrade, entonces si lo hago de esa misma forma lo único que me falto hacer es lo que dice el manual que compartiste;
Esto es lo que me pide actualizar cuando le doy
slackpkg upgrade(http://s31.postimg.org/4h8o93dg7/kernels.jpg) (http://postimg.org/image/4h8o93dg7/)
Citar
Edit /etc/lilo.conf and add a new section for your new kernel. Remember, your new kernel may not even boot if you made a mistake somewhere, so you will want to leave the existing sections for your current kernel(s) intact. Your current /etc/lilo.conf will have a section somewhat like this, near the bottom of the file:
image = /boot/vmlinuz
root = /dev/sda1
label = linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
Add another section just below (adding it below will guarantee that your current - working - kernel will stay the default to boot):
image = /boot/vmlinuz-custom-2.6.37.6
root = /dev/sda1
label = newkernel
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
After you have added a section for your new kernel to /etc/lilo.conf you should save the file, and then run lilo to activate your changes:
lilo
Now is the time for a reboot, and test that new kernel! When the lilo boot screen appears, select the "newkernel" option instead of the default "linux" option.
If your new kernel boots fine, you can make it the default kernel by adding the following line to the top of /etc/lilo.conf and re-run "lilo":
default = newkernel
lo único que tendría que cambiar son los nombres de los kernel que voy a actualizar, verdad??
Exacto, asegúrate de que image apunta al nuevo kernel y no te olvides de correr lilo para que sepa en que parte del disco está el kernel. Puedes probar el proceso en una vm primero si no estás muy seguro o para familiarizarte.
Un saludo