From: "José Campos" <jjscampos@gmail.com>
To: "'The development of GRUB 2'" <grub-devel@gnu.org>
Subject: RE: grub2 background_image difficulty
Date: Fri, 24 Oct 2008 17:19:05 +0100 [thread overview]
Message-ID: <002401c935f4$3dd8cac0$b98a6040$@com> (raw)
In-Reply-To: <1224675356.4106.4.camel@fz.local>
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: grub-devel-bounces+jjscampos=gmail.com@gnu.org [mailto:grub-devel-bounces+jjscampos=gmail.com@gnu.org] 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
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2008-10-24 16:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 11:34 grub2 background_image difficulty José Campos
2008-10-22 11:31 ` Felix Zielcke
2008-10-24 13:09 ` svn timed out José Campos
2008-10-24 13:57 ` Manoel
2008-10-22 11:35 ` grub2 background_image difficulty Felix Zielcke
2008-10-24 16:19 ` José Campos [this message]
2008-10-24 16:23 ` Felix Zielcke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002401c935f4$3dd8cac0$b98a6040$@com' \
--to=jjscampos@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.