Marcos Menendez wrote:
Hello,
After having finished my LFS I'm having some problems trying to
accomplish something that I thought it was easy: A boot screen.
I have read the following hints but they are out-of-date:
http://www.linuxfromscratch.org/hints/downloads/files/bootsplash.txt
http://www.linuxfromscratch.org/hints/downloads/files/grub2.txt
Those are quite old.
I don't use a splash image for grub because I think it's a waste, but
some people like eye candy.
That said, what I had was:
insmod ext2
set root=(hd0,1)
#if loadfont /grub/unifont.pf2 ; then
# loadfont /grub/unifont.pf2
#set gfxmode="800x600;640x480"
# insmod gfxterm
# insmod vbe
# insmod tga
# terminal_output gfxterm
# if terminal_output gfxterm ; then true ; else
# terminal gfxterm
# fi
# if background_image /grub/lfs.tga ; then
# true
# set menu_color_normal=light-gray/black
# set menu_color_highlight=white/black
# else
# set menu_color_normal=cyan/blue
# set menu_color_highlight=white/blue
# fi
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.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page