Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Bruce Dubbs wrote:
I am trying to provide documentation about GRUB2 (1.97.1)
customization for the Linux From Scratch book. I am having quite a
bit of trouble finding anything describing how to set up a splash
screen directly in grub.cfg.
Could you help us with documenting grub better? Patches against texinfo
manual are welcome
I may be able to do that, however, I need to learn it myself.
I don't really mind reading code either, but a general idea about
where the drawing of the menu entries is located would be helpful.
I quick check shows that GRUB2 has 287 .c files, but I suspect that most
of the menu customization is handled in the term/ directory.
Are there and specifications, design documents, examples, or other
places that I can look at to better understand GRUB2 menu customization?
I've looked in info, faqs, the GRUB2 wiki, and google. I do find
references to /etc/grub.d/05_debian_theme, but that is an indirect way
of customizing grub.cfg. I am trying to show our LFS users how to
edit grub.cfg directly.
if background_image=/grub/lfs-logo2.png ; then
There is a space between background_imge and filename, not '='
if background_image /grub/lfs-logo2.png ; then
This is exactly what I was looking for. It comes up properly now.
Thanks.
-- Bruce
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel