grub-devel
[Top][All Lists]
Advanced

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

RE: grub2 background_image difficulty


From: José Campos
Subject: RE: grub2 background_image difficulty
Date: Fri, 24 Oct 2008 17:19:05 +0100

Hello, thanks I already done trunk the svn version by using: svn co 
http://svn...

Now I have one more question.
About the font o load on your sample grub.cfg. Where or how do I get the 
ascii.pff font file?

Thanks for your help.

José Campos


-----Mensagem original-----
De: address@hidden [mailto:address@hidden Em nome de Felix Zielcke
Enviada: quarta-feira, 22 de Outubro de 2008 12:36
Para: The development of GRUB 2
Assunto: Re: grub2 background_image difficulty

Am Mittwoch, den 22.10.2008, 12:34 +0100 schrieb José Campos:

> set root=(hd0,3)
> if background_image /grub/images/ESEIG.png ; then
>    set menu_color_normal=white/black
>    set menu_color_highlight=white/green
> else
>    set menu_color_normal=red/black
>    set menu_color_highlight=red/green
> fi
> 
> terminal gfxterm



Oh and I think the problem is that you set `terminal gfxterm' after the
image is loaded and not before.
The update-grub script (or grub-mkconfig now in trunk SVN) normally
generates it that way.
For example here a snippet from my debian config:

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,2)
search --fs-uuid --set 1867fa8e-a3f0-422d-912e-7d07556d633c
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,2)
search --fs-uuid --set 1867fa8e-a3f0-422d-912e-7d07556d633c
insmod png
if background_image /boot/grub/debian-blueish-wallpaper-640x480.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###




_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]