From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ksbsx-00083y-2l for mharc-grub-devel@gnu.org; Wed, 22 Oct 2008 07:28:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ksbsu-00083g-Ry for grub-devel@gnu.org; Wed, 22 Oct 2008 07:28:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ksbsr-00083T-UY for grub-devel@gnu.org; Wed, 22 Oct 2008 07:28:15 -0400 Received: from [199.232.76.173] (port=47651 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ksbsr-00083H-Ln for grub-devel@gnu.org; Wed, 22 Oct 2008 07:28:13 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:20291) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ksbsp-0007wL-7U for grub-devel@gnu.org; Wed, 22 Oct 2008 07:28:14 -0400 Received: by fg-out-1718.google.com with SMTP id l26so313927fgb.30 for ; Wed, 22 Oct 2008 04:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=azA02aihz43DCxddr6iX26LHStDg+ZmnR1T/KAomlsc=; b=pKB9t4JmPRkWctrurajBsVUoG6S4VSNaSvmCWjd8CCcruJdXaBQczrSVTGj8JnLjjD O86PRxhXgTtrtcmAsVW5wdRnlKkkm5QVB8BRVBlKnBb9c9fGZXiTVc2xfy3ehweDW1oU 4vN5yw9qE74tfagPrG1ei3DmCvMGA71h6aA0Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=OkDq0lYK+n5a9d71VVUL1MVmFKii63mqafD5tTL0LoP2Iavr5fvkgqHJQW9BV6ObCK j6Aq2Ure35dDVwvudIUG3LLl2849zvDKN37sQLxgog3mg3jdD0i4CEWV3PSKydf7VeAE 7d9xPHWzaI1o7GU8pYUUZoI4qgsHIlNdzVmTk= Received: by 10.86.82.6 with SMTP id f6mr835029fgb.66.1224674885606; Wed, 22 Oct 2008 04:28:05 -0700 (PDT) Received: from posto1e113 (fw-priv.eseig.wan.ipp.pt [193.136.56.222]) by mx.google.com with ESMTPS id d6sm13887893fga.2.2008.10.22.04.28.03 (version=SSLv3 cipher=RC4-MD5); Wed, 22 Oct 2008 04:28:04 -0700 (PDT) From: =?iso-8859-1?Q?Jos=E9_Campos?= To: Date: Wed, 22 Oct 2008 12:34:24 +0100 Message-ID: <002a01c9343a$241456b0$6c3d0410$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002B_01C93442.85D8BEB0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ack0OiHfAOROlkzdQIKrZZg2UPUMNA== Content-Language: pt X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: 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:28:17 -0000 Esta é uma mensagem com várias partes no formato MIME. ------=_NextPart_000_002B_01C93442.85D8BEB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. =20 I just can=92t 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=3D0 set timeout=3D5 insmod linux insmod terminal insmod boot insmod gfxterm insmod vbe insmod vga set gfxmode=3D640x480 insmod png 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 terminal gfxterm menuentry "GNU/Linux, linux 2.6.25-14.fc9.i686" { linux (hd0,3)/vmlinuz-2.6.25-14.fc9.i686 root=3D/dev/sda5 ro=20 initrd (hd0,3)/initrd-2.6.25-14.fc9.i686.img } menuentry "Windows XP Proffessional" { set root=3D(hd0,1) chainloader +1 } ################################ =20 Appreciate any help =20 Jose Campos =20 =20 ------=_NextPart_000_002B_01C93442.85D8BEB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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 can’t 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, = =A0the .mod files and grub.cfg are as well on the sda3.

################################

set default=3D0
set timeout=3D5

insmod linux
insmod terminal
insmod boot

insmod gfxterm
insmod vbe
insmod vga
set gfxmode=3D640x480
insmod png

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

terminal gfxterm

menuentry "GNU/Linux, linux 2.6.25-14.fc9.i686" {
   linux (hd0,3)/vmlinuz-2.6.25-14.fc9.i686 root=3D/dev/sda5 ro 
   initrd (hd0,3)/initrd-2.6.25-14.fc9.i686.img
}
menuentry "Windows XP = Proffessional" {
   set = root=3D(hd0,1)
   chainloader +1
}

################################

 

Appreciate any help

 

Jose Campos

 

 

------=_NextPart_000_002B_01C93442.85D8BEB0--