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

Re: problema configurando nuevo kernel



El mar, 01-11-2005 a las 04:40 +0000, enediel gonzalez escribió:
> saludos a todos
> 
> trabajando sobre sarge stable.
> 
> usando el procedimiento para compilar un nuevo kernel de este enlace
> http://www.howtoforge.com/howto_linux_kernel_2.6_compile_debian
> 
> obtuve un nuevo kernel que me debe direccionar 1GB + 256 MB de RAM,
> luego de instalar el paquete generado obtuve la siguiente configuracion de 
> forma automatica.
> 
> menu.lst
> ----------------------------------------------
> title           Debian GNU/Linux, kernel 2.6.14
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.14 root=/dev/hda1 ro
> savedefault
> boot
> 
> title           Debian GNU/Linux, kernel 2.6.14 (recovery mode)
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.14 root=/dev/hda1 ro single
> savedefault
> boot
> 
> title           Debian GNU/Linux, kernel 2.6.8-2-386
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro
> initrd          /boot/initrd.img-2.6.8-2-386
> savedefault
> boot
> 
> title           Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro single
> initrd          /boot/initrd.img-2.6.8-2-386
> savedefault
> boot
> ------------------------------------------------------
> development:/boot# ls
> config-2.6.14       initrd.img-2.6.8-2-386  vmlinuz-2.6.14
> config-2.6.8-2-386  System.map-2.6.14       vmlinuz-2.6.8-2-386
> grub                System.map-2.6.8-2-386
> 
> ------------------------------------------------
> 
> arrancando con el primero de estos obtengo el siguiente mensaje
> VFS: Cannot open root device "hda1" or uknown-block(0,0)
> 
> Please append a correct "root=" boot option
> Kernel panic-not syncing:VFS: Unable to mount root fs on uknown-block(0,0)
> 
> Comparando la 1ra entrada con la 3ra note que faltaba la declaracion initrd 
> en la 1ra, pero honestamente no se cual es la declaracion correcta en este 
> caso, y si se precisara algo mas.
> 
> 
> Gracias de antemano por cualquier ayuda.
> Enediel
> 
> Linux user 398956
> 
> 
> 

genera el initrd mediante el comando:

mkinitrd -o /boot/initrd.img-2.6.14  2.6.14
esto te crea el fichero en /boot

en el manual al que haces referencia aparece como hacerlo,
en la linea:
Create a ramdisk of your new kernel (otherwise your system will most
likely not boot):

y en menu.lst te debe quedar asi:

title           Debian GNU/Linux, kernel 2.6.14 (recovery mode
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.14 root=/dev/hda1 ro single
initrd          /boot/initrd.img-2.6.14
savedefault
boot 

espero te sea de ayuda 
saludos 



Reply to: