Re: kernel-image
El Jueves, 20 de Enero de 2005 19:53, Aritz Beraza Garayalde [Rei] escribió:
> > Quisiera saber si hay que hacer algo más que el apt-get install para que
> > se añada sin problemas y funcione en el Grub. Si me lo pueden detallar se
> > lo agradecería mucho.
>
> Pues si todo va bien, al instalar el paquete el te avisa de que va a
> modificar el lilo o grub, y lo añade (hasta ahora a mi me ha ido bien
> siempre), sino, si usas grub, puedes editar /boot/grub/menu.lst (creo
> que en debian se llama así) y añadir tu nuevo kernel (que básicamente
> será coger la entrada del kernel 2.6.5, y cambiar las lineas de
> vmlinuz-2.6.5 y del initrd.img-xxxx por el vmlinuz-2-6-8..... (como se
> llame el archivo de marras que deberías tener en /boot) e idem para el
> initrd.img-2.6.8xxx. Reinicia y deberías tener la la nueva entrada del
> menú.
>
> Saludos
> Aritz Beraza
Bueno, pues he instalado el kernel-image-2.6.9-2-686-smp y no se añadió solo
al Grub así que lo añadí yo a mano, pero me da un kernel panic. Pego aquí las
5 últimas líneas al arrancar:
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
pivot_root: No such file or directory
/sbin/init: 431: can not open /dev/console: No such file
Kernel panic - not syncing: Attemped to kill init!
Y ahí se queda ;-(
Estos son los archivos que tengo en /boot
[root@llermania boot]# ls
total 11276
drwxr-xr-x 3 root root 4096 2005-01-22 13:39 .
drwxr-xr-x 24 root root 4096 2005-01-22 13:39 ..
-rw------- 1 root root 512 2005-01-19 16:11 boot.0805
-rw-r--r-- 1 root root 53356 2004-09-29 16:40 config-2.6.5
-rw-r--r-- 1 root root 56183 2005-01-08 19:41 config-2.6.9-2-686-smp
lrwxrwxrwx 1 root root 15 2005-01-19 16:09 debian.bmp
-> /boot/sarge.bmp
drwxr-xr-x 3 root root 4096 2005-01-22 13:47 grub
-rw-r--r-- 1 root root 4804608 2005-01-22 13:39 initrd.img-2.6.9-2-686-smp
-rw-r--r-- 1 root root 111384 2005-01-18 15:33 initrd.splash
-rw------- 1 root root 350208 2005-01-19 16:31 map
-rw-r--r-- 1 root root 1026236 2004-05-24 18:18 System.map
-rw-r--r-- 1 root root 1026236 2004-09-29 17:58 System.map-2.6.5
-rw-r--r-- 1 root root 822824 2005-01-09 00:46 System.map-2.6.9-2-686-smp
-rw-r--r-- 1 root root 1961334 2004-09-29 17:58 vmlinuz-2.6.5
-rw-r--r-- 1 root root 1252573 2005-01-09 00:46 vmlinuz-2.6.9-2-686-smp
Y este es el menu.lst:
# Arrancar automáticamente despues de 10 segundos
timeout 10
# Arrancar la primera entrada por defecto
default 0
# Descolgarse a la segunda entrada
fallback 1
splashimage=(hd0,4)/boot/grub/splashimages/debsplash.xpm.gz
title Windows XP
root (hd0,0)
makeactive
chainloader +1
boot
title Debian 2.6.5
root (hd0,4)
kernel /boot/vmlinuz-2.6.5 root=/dev/sda5 splash=silent vga=791
initrd /boot/initrd.splash
title Debian 2.6.5 (A prueba de errores)
root (hd0,4)
kernel /boot/vmlinuz-2.6.5 root=/dev/sda5 noapic noscsi nomce vga=normal
nosplash screen=800x600 xmodule=vesa xdepth=16 xvrefresh=60
initrd /boot/initrd.splash
title Debian 2.6.9-2-686-smp
root (hd0,4)
kernel /boot/vmlinuz-2.6.9-2-686-smp root=/dev/sda5 splash=silent vga=791
initrd /boot/initrd.img-2.6.9-2-686-smp
¿Que me falta por hacer?
Muchas gracias ;-)
--
Un saludo de Willy Walker ;o)
Usuario Linux: 100651
Debian Sid 2.6.5
Uno pregunta, muchos responden, todos aprenden.
Reply to: