From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NFZGa-00057A-43 for mharc-grub-devel@gnu.org; Tue, 01 Dec 2009 15:24:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFZGY-00056Q-Le for grub-devel@gnu.org; Tue, 01 Dec 2009 15:24:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFZGU-00052r-FO for grub-devel@gnu.org; Tue, 01 Dec 2009 15:24:06 -0500 Received: from [199.232.76.173] (port=35208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFZGU-00052l-9s for grub-devel@gnu.org; Tue, 01 Dec 2009 15:24:02 -0500 Received: from ey-out-1920.google.com ([74.125.78.150]:58790) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFZGT-0004yx-Le for grub-devel@gnu.org; Tue, 01 Dec 2009 15:24:01 -0500 Received: by ey-out-1920.google.com with SMTP id 3so1327065eyh.34 for ; Tue, 01 Dec 2009 12:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=t9H90yOPBCh9M52sLupfPHSkT2fTwL9LXyJIGJsU6XY=; b=Ad11WpH+1njj2yjJhNi75YvkHyVmFrwjGN23LN2trV3U9A93irDUqKh1LCBK4AgylZ C/y2asYchMKalUIAzYDr2aaknTZwoIEtuUdC8aUkjBk8hp7j6XrguXfMjmqpAkoVE+0N luQY55t8I8S5dWthUfC8pTBg0RCijQn6dk4To= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=AT/od0y3oHP1nT0hRAA5Rqlmmh5WUQb35P5E6QOkdhyClVEmZgxtPbf4P/80/uGMhX q/D+ZRxAa0FqnVcAlRszk7YYEhhepxiJOYU5TKAxDmPuTT6INnHak5luABmeL1NdAPYv qSyO2AdkdnosJsfZpYDM0ScnzIRXsuBo6iJQo= Received: by 10.213.43.130 with SMTP id w2mr3529326ebe.89.1259699039105; Tue, 01 Dec 2009 12:23:59 -0800 (PST) Received: from debian.bg45.phnet (gprs01.swisscom-mobile.ch [193.247.250.1]) by mx.google.com with ESMTPS id 16sm283300ewy.14.2009.12.01.12.23.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 12:23:58 -0800 (PST) Message-ID: <4B157B51.2060402@gmail.com> Date: Tue, 01 Dec 2009 21:23:45 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <4B157A71.5060402@gmail.com> In-Reply-To: <4B157A71.5060402@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig1EF34DFC8964FBD509DDC64C" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Customization of GRUB2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2009 20:24:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1EF34DFC8964FBD509DDC64C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bruce Dubbs wrote: > I am trying to provide documentation about GRUB2 (1.97.1) > customization for the Linux From Scratch book. I am having quite a > bit of trouble finding anything describing how to set up a splash > screen directly in grub.cfg. > Could you help us with documenting grub better? Patches against texinfo manual are welcome > I've looked in info, faqs, the GRUB2 wiki, and google. I do find > references to /etc/grub.d/05_debian_theme, but that is an indirect way > of customizing grub.cfg. I am trying to show our LFS users how to > edit grub.cfg directly. > > Right now I have tried a reasonably simple configuration: > > ### grub.cfg > set default=3D0 > set timeout=3D15 > > insmod ext2 > set root=3D(hd0,1) > > loadfont /grub/unifont.pf2 > #set gfxmode=3D"1024x768;800x600;640x480" > insmod gfxterm > insmod vbe > insmod png > > terminal_output gfxterm > if terminal_output gfxterm ; then true ; else > terminal gfxterm > fi > > if background_image=3D/grub/lfs-logo2.png ; then There is a space between background_imge and filename, not '=3D' if background_image /grub/lfs-logo2.png ; then > set menu_color_normal=3Dred/black > set menu_color_highlight=3Dgreen/black > else > set menu_color_normal=3Dcyan/blue > set menu_color_highlight=3Dwhite/blue > fi > > #menuentrys > ... > ---------------- > > The primary function of GRUB, booting the OS, works great. However > the background image does not display. > > Dropping to the command line shows that gfxterm is enabled, the font > is loaded, and the background image is loaded. > > terminfo shows VT100. > > Reloading the background image from the command line brings up the > image and returning to the menu then works with the image now > displayed, although I can not find any documentation or examples on > how to control the menu frame or menu items. > > I hesitate to claim that the problem I am having is a bug in the code, > but I do wonder if the problem is in my configuration or the code. > > Any insights or pointers to documentation of customization or examples > of grub.cfg will be much appreciated. > > -- Bruce > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig1EF34DFC8964FBD509DDC64C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksVe1oACgkQNak7dOguQglJpwD+Jih4EJjXlIp6CNpH8KKg22Lc o0JYlTAGvA+ADTDU7kkA/169i6BN3Pi8k1AF72rzuGGNd5YsJ5309qhojuuOrsy/ =LcpR -----END PGP SIGNATURE----- --------------enig1EF34DFC8964FBD509DDC64C--