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

Re: grub 2 y bootsplash por kernel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcel Sanchez Gongora escribió:
> Buenas Rodrigo
> 
> El mié, 04-11-2009 a las 20:45 -0330, Rodrigo Cortés escribió:
>> En tu linea del grub.cfg tienes lo siguiente:
>>
>> linux   /boot/vmlinuz-2.6.30+21-msg02
>> root=UUID=8466ab7f-2694-477e-947a-526e947af655 ro vga=791 quiet
>> ipv6.disable=1 splash=silent
>>
>> Has cambiado el valor a vga???
>> Por que hasta donde entiendo esta orden ya no funciona, en cambio se
>> usa la siguiente sentencia en el "header" del grub.cfg para configurar
>> la resolucion:
>>
>> set gfxmode=1024x768x32
>>
>> Revisa el siguiente enlace para una version más completa del archivo grub.cfg:
>>
>> http://wiki.zenwalk.org/index.php?title=Welcome_to_GRUB2--replacing_Grub_legacy_or_LILO_with_GRUB2
>>
>> Saludos...
> Esta opción no tiene nada que ver con la otra. Una es de configuración
> del grub, la cual sirve para definir únicamente la resolución del
> terminal gráfico en el mismo; y la otra es un parámetro que recibe el
> kernel para definir el modo vga de este.
> No obstante hice la cambie de varias formas y el resultado es el mismo,
> sigo sin ver el bootsplash en modo silent.
>>
> 

Hola Marcel,

De todas formas lo que dice Rodrigo es correcto. Ahora con el grub2 no
se debe pasar el párametro vga al kernel (está obsoleto), en su lugar
está "gfxpayload".
Te pego las partes importantes de los archivos que configuran la
resolución del menú gráfico del grub y la del kernel a 1024x768.

/etc/default/grub
- ----------------------
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via
# VBE you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1024x768x32

/etc/grub.d/00_header
- ----------------------
case x${GRUB_TERMINAL_OUTPUT} in
 xgfxterm)
    # Make the font accessible
    prepare_grub_to_access_device `${grub_probe} --target=device
${GRUB_FONT_PATH}`

    cat << EOF
if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
  set gfxmode=${GRUB_GFXMODE}
  set gfxpayload=keep
  insmod gfxterm
  insmod ${GRUB_VIDEO_BACKEND}
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that
    # don't understand terminal_output
    terminal gfxterm
  fi
fi
EOF

/boot/grub/grub.cfg
- ----------------------
### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ext2
set root=(hd2,6)
search --no-floppy --fs-uuid --set abf59e31-2de1-4ba7-9ed4-7e15b1a0db23
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=1024x768x32
  set gfxpayload=keep
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that
    # don't understand terminal_output
    terminal gfxterm
  fi
fi
set timeout=15
### END /etc/grub.d/00_header ###

P.D: Sé que esto no te solucionará tu problema con el bootsplash pero va
bien saberlo.

Saludos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr0uBYACgkQ5iAh9f/+Mxo3fQCfR2Qw52aa40FyKGTwZvb6N9Lb
qo4AoOtkUzUEY1ei3whCLM/9/8++QYry
=m7hS
-----END PGP SIGNATURE-----


Reply to: