* grub2 background_image difficulty
@ 2008-10-22 11:34 José Campos
2008-10-22 11:31 ` Felix Zielcke
2008-10-22 11:35 ` grub2 background_image difficulty Felix Zielcke
0 siblings, 2 replies; 7+ messages in thread
From: José Campos @ 2008-10-22 11:34 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 1177 bytes --]
I have both windows and linux(fedora core8) installed on.
I have also installed grub2(v1.96, source compiled by me) as the boot
loader.
I just cant load any image as background as you can see on grub.cfg
bellow(perhaps some non necessary commands).
Images are on partition(sda3) within images directory, the .mod files and
grub.cfg are as well on the sda3.
################################
set default=0
set timeout=5
insmod linux
insmod terminal
insmod boot
insmod gfxterm
insmod vbe
insmod vga
set gfxmode=640x480
insmod png
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
menuentry "GNU/Linux, linux 2.6.25-14.fc9.i686" {
linux (hd0,3)/vmlinuz-2.6.25-14.fc9.i686 root=/dev/sda5 ro
initrd (hd0,3)/initrd-2.6.25-14.fc9.i686.img
}
menuentry "Windows XP Proffessional" {
set root=(hd0,1)
chainloader +1
}
################################
Appreciate any help
Jose Campos
[-- Attachment #2: Type: text/html, Size: 6074 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: grub2 background_image difficulty
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-22 11:35 ` grub2 background_image difficulty Felix Zielcke
1 sibling, 1 reply; 7+ messages in thread
From: Felix Zielcke @ 2008-10-22 11:31 UTC (permalink / raw)
To: The development of GRUB 2
Am Mittwoch, den 22.10.2008, 12:34 +0100 schrieb José Campos:
> I have both windows and linux(fedora core8) installed on.
>
>
> I have also installed grub2(v1.96, source compiled by me) as the boot
> loader.
Hello,
Don't use the 1.96 release from february but trunk SVN version.
There were many bugfixes since then and I think even in the png module
something was fixed in the last months.
--
Felix Zielcke
^ permalink raw reply [flat|nested] 7+ messages in thread
* svn timed out
2008-10-22 11:31 ` Felix Zielcke
@ 2008-10-24 13:09 ` José Campos
2008-10-24 13:57 ` Manoel
0 siblings, 1 reply; 7+ messages in thread
From: José Campos @ 2008-10-24 13:09 UTC (permalink / raw)
To: 'The development of GRUB 2'
Hello,
When i try to trunk svn version off grub2 I receive the following message like bellow:
####
[root@Apolo ~]# svn co svn://svn.savannah.gnu.org/grub/trunk/grub2
svn: Can't connect to host 'svn.savannah.gnu.org': Connection timed out
####
Can you help me.
Thanks
-----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:31
Para: The development of GRUB 2
Assunto: Re: grub2 background_image difficulty
Am Mittwoch, den 22.10.2008, 12:34 +0100 schrieb José Campos:
> I have both windows and linux(fedora core8) installed on.
>
>
> I have also installed grub2(v1.96, source compiled by me) as the boot
> loader.
Hello,
Don't use the 1.96 release from february but trunk SVN version.
There were many bugfixes since then and I think even in the png module
something was fixed in the last months.
--
Felix Zielcke
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: svn timed out
2008-10-24 13:09 ` svn timed out José Campos
@ 2008-10-24 13:57 ` Manoel
0 siblings, 0 replies; 7+ messages in thread
From: Manoel @ 2008-10-24 13:57 UTC (permalink / raw)
To: The development of GRUB 2
You should use this
svn co svn://svn.sv.gnu.org/grub/trunk/grub2
On Fri, 2008-10-24 at 14:09 +0100, José Campos wrote:
> Hello,
>
> When i try to trunk svn version off grub2 I receive the following message like bellow:
>
> ####
>
> [root@Apolo ~]# svn co svn://svn.savannah.gnu.org/grub/trunk/grub2
> svn: Can't connect to host 'svn.savannah.gnu.org': Connection timed out
>
> ####
>
> Can you help me.
>
> Thanks
>
> -----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:31
> Para: The development of GRUB 2
> Assunto: Re: grub2 background_image difficulty
>
> Am Mittwoch, den 22.10.2008, 12:34 +0100 schrieb José Campos:
> > I have both windows and linux(fedora core8) installed on.
> >
> >
> > I have also installed grub2(v1.96, source compiled by me) as the boot
> > loader.
>
> Hello,
>
> Don't use the 1.96 release from february but trunk SVN version.
> There were many bugfixes since then and I think even in the png module
> something was fixed in the last months.
>
--
Best Regards,
Manoel Abranches <mrabran@linux.vnet.ibm.com>
IBM Linux Technology Center Brazil
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: grub2 background_image difficulty
2008-10-22 11:34 grub2 background_image difficulty José Campos
2008-10-22 11:31 ` Felix Zielcke
@ 2008-10-22 11:35 ` Felix Zielcke
2008-10-24 16:19 ` José Campos
1 sibling, 1 reply; 7+ messages in thread
From: Felix Zielcke @ 2008-10-22 11:35 UTC (permalink / raw)
To: The development of GRUB 2
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 ###
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: grub2 background_image difficulty
2008-10-22 11:35 ` grub2 background_image difficulty Felix Zielcke
@ 2008-10-24 16:19 ` José Campos
2008-10-24 16:23 ` Felix Zielcke
0 siblings, 1 reply; 7+ messages in thread
From: José Campos @ 2008-10-24 16:19 UTC (permalink / raw)
To: 'The development of GRUB 2'
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-10-24 16:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-10-24 16:23 ` Felix Zielcke
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.