Hi there! On Tue, 26 Feb 2008 03:06:05 +0100, shirish wrote: > I think I know why the .jpg & the .svg files don't work. This is the > section of /boot/grub/grub.cfg > > ### BEGIN /etc/grub.d/05_debian_theme ### > insmod png > if background_image > (hd0,1)/usr/share/images/desktop-base/debblue-1600x1200.png ; then
It seems that you've modified the stock /etc/grub.d/05_debian_theme [1]: --8<---------------cut here---------------start------------->8--- # check for usable backgrounds use_bg=false if [ "$GRUB_TERMINAL" = "gfxterm" ] ; then for i in {/usr/share/images/desktop-base,/boot/grub}/debian-blueish-wallpaper-640x480.{png,tga} ; do if bg=`convert_system_path_to_grub_path $i` ; then case ${bg} in *.png) reader=png ;; *.tga) reader=tga ;; *.jpg|*.jpeg) reader=jpeg ;; esac if test -e /boot/grub/${reader}.mod ; then echo "Found Debian background: `basename ${bg}`" >&2 use_bg=true break fi fi done fi --8<---------------cut here---------------end--------------->8--- Since the check is only performed for a specific image either in png or tga format, jpg images are not taken into account. Yesterday night I worked on a solution which enables something more configurable, but I haven't had time to submit upstream yet. Thx, bye, Gismo / Luca Footnotes: [1] http://svn.debian.org/wsvn/pkg-grub/grub2/trunk/debian/grub.d/05_debian_theme?op=file&rev=689&sc=0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel