From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ksc0R-0003hk-46 for mharc-grub-devel@gnu.org; Wed, 22 Oct 2008 07:36:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ksc0P-0003gi-PE for grub-devel@gnu.org; Wed, 22 Oct 2008 07:36:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ksc0O-0003eP-5p for grub-devel@gnu.org; Wed, 22 Oct 2008 07:36:01 -0400 Received: from [199.232.76.173] (port=40536 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ksc0O-0003eK-34 for grub-devel@gnu.org; Wed, 22 Oct 2008 07:36:00 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:58933) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ksc0N-0002UZ-Pm for grub-devel@gnu.org; Wed, 22 Oct 2008 07:36:00 -0400 Received: from [85.180.53.167] (e180053167.adsl.alicedsl.de [85.180.53.167]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1Ksc0L2jvF-0007B7; Wed, 22 Oct 2008 13:35:58 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <002a01c9343a$241456b0$6c3d0410$@com> References: <002a01c9343a$241456b0$6c3d0410$@com> Content-Type: text/plain; charset=utf-8 Date: Wed, 22 Oct 2008 13:35:56 +0200 Message-Id: <1224675356.4106.4.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V01U2FsdGVkX1/m/77F6O7qlwOqu717YKplL1UHLVXsprE8dg7 FqDn9V4DB0MeBiyfqKQD/fYTbgdehADxFSblRZQxgLW737IeKh KU6fQpa6L0GS8E730f/p+qy6YFDoFIg X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: grub2 background_image difficulty X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 11:36:02 -0000 Am Mittwoch, den 22.10.2008, 12:34 +0100 schrieb Jos=C3=A9 Campos: > set root=3D(hd0,3) > if background_image /grub/images/ESEIG.png ; then > set menu_color_normal=3Dwhite/black > set menu_color_highlight=3Dwhite/green > else > set menu_color_normal=3Dred/black > set menu_color_highlight=3Dred/green > fi >=20 > 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=3D0 set timeout=3D5 set root=3D(hd0,2) search --fs-uuid --set 1867fa8e-a3f0-422d-912e-7d07556d633c if font /usr/share/grub/ascii.pff ; then set gfxmode=3D640x480 insmod gfxterm insmod vbe terminal gfxterm fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set root=3D(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=3Dblack/black set color_highlight=3Dmagenta/black else set menu_color_normal=3Dcyan/blue set menu_color_highlight=3Dwhite/blue fi ### END /etc/grub.d/05_debian_theme ###