> I forget how to get unifont.pf2, but the image is
>
> Targa image data - RGB - RLE 1024 x 768
>
>
> You can create that with gimp.
>
Thanks for the configuration Bruce.
I created a .tga image with Gimp and started my attempts to load it.
My actual grub.cfg has the following settings:
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
insmod ext2
set root=(hd0,2)
set gfxmode="640x480"
insmod gfxterm
insmod vbe
insmod tga
gfxpayload=keep
terminal_output gfxterm
background_image /boot/grub/0-640x480.tga
menuentry "GNU/Linux, Linux 3.13.3-lfs-7.5" {
linux /boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
}
What I have realized until now is:
-If I don't define 'terminal_output gfxterm' no image is shown.
-The use of 'terminal_output gfxterm' changes the character code to something
unreadable (question marks).
This behavior is the same despite of having defined 'background_image' or not.
The point is that the image is shown in the background only if we define
'terminal_output gfxterm'
but as a result the character code turns illegible.
-'background_image' must be defined in order to load the image ( I have read
somewhere that grub
should recognize automatically images in /boot/grub and load them according to
an image format
priority but without 'background_image' defined it doesn't load anything).
-The combination of 'gfxpayload=' with 'terminal_output gfxterm' gives as a
result the little linux penguin
showing at boot time on the top left corner of the screen. If I remove
'gfxpayload=' the penguin doesn't
show any more.
And this is how far I have reached with my testing.
Regarding the .pf2 fonts, I cannot test it since no .pf2 fonts are included in
the /boot/grub folder and
no 'grub-mkfont' command (as mentioned in the Linux Mint link sent by Ken
before) is included in the LFS grub installation for me to try to convert an
existing .ttf one (I searched into our CentOS servers but no luck).
Any ideas?
Marcos
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page