[arch-dev-public] grub2 image support

Ronald van Haren pressh at gmail.com
Sun May 10 18:23:32 EDT 2009


Hi,

For those of you who are using grub2 and are interested in making your
boot selection menu a bit nicer, the newly uploaded grub2 supports
backgrounds and stuff.

Config syntax in your grub.cfg is similar to:
++++++++++++++++++++++++++++++++++++++
if loadfont /usr/share/grub/unicode.pf2 ; then
   set gfxmode="1024x768x32"
   insmod gfxterm
   insmod vbe
   terminal_output gfxterm
   if terminal_output gfxterm; then true ; else
      terminal gfxterm
   fi
fi
insmod tga
background_image /boot/grub/archlinux.tga
+++++++++++++++++++++++++++++++++++++++
though obviously a background image is not included. Other image types
should work as well if you load the correct modules (see the .mod
files in /boot/grub)

Ronald

ps. I had to add a bdf-unifont package to the repo in order to make it
work a bit easier. It is now a makedepend of grub2.


More information about the arch-dev-public mailing list