> I generated unifont.pf2 in 2009, but I don't recall how I did it, but it 
> is at http://anduin.linuxfromscratch.org/sources/other/unifont.pf2

Thanks for the font Bruce.

I finally found the right combination for grub.cfg showing the image and the 
fonts properly.
Here it is if someone wants to try it (just change the image name and 
resolution, obviously):

# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext2
set root=(hd0,2)

loadfont /boot/grub/unifont.pf2

insmod gfxterm
insmod vbe
insmod tga

set gfxmode="640x480"
gfxpayload=keep

terminal_output gfxterm

background_image /boot/grub/0-640x480.tga

set menu_color_normal=light-gray/black
set menu_color_highlight=white/black
#set menu_color_normal=cyan/blue
#set menu_color_highlight=white/blue


menuentry "GNU/Linux, Linux 3.13.3-lfs-7.5" {
        linux   /boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
}



I would like to mention that it seems to me that grub.cfg doesn't like very 
much the 'if...then' way.
In order to get everything working as it should is better to be explicit and 
just define the variables as 
with 'loadfont' and background_image'.



Marcos
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to