grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub2 background_image difficulty


From: José Campos
Subject: grub2 background_image difficulty
Date: Wed, 22 Oct 2008 12:34:24 +0100

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,  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

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]