grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub2 doesn't parse .jpeg files


From: shirish
Subject: Re: grub2 doesn't parse .jpeg files
Date: Tue, 26 Feb 2008 07:36:05 +0530

>
>  Message: 5
>  Date: Mon, 25 Feb 2008 21:53:19 +0800
>  From: Bean <address@hidden>
>  Subject: Re: grub2 doesn't parse .jpeg files
>  To: "The development of GRUB 2" <address@hidden>
>  Message-ID:
>         <address@hidden>
>  Content-Type: text/plain; charset=ISO-8859-1
>
>  On Mon, Feb 25, 2008 at 9:45 PM, shirish <address@hidden> wrote:
>  > Hi all,
>  >           I'm using grub 1.96+20080203-1ubuntu1 . Now in the directory
>  >  /usr/share/images/desktop-base/ there are quite few images which are
>  >  there. While some of the images work some didn't . Especially the
>  >  .jpg/,jpeg files. (I don't remember which extension it was for I'm on
>  >  a different machine atm. )
>  >           Another thing can one have any stuff from deviantart.com or
>  >  openclipart.org which is .png & has the required resolution or not? I
>  >  just have to add it to the path & that's it or something else also has
>  >  to be done?
>  >  --
>
>  Please upload the ones that doesn't work.
>
>  --
>  Bean

>  ------------------------------

Hi all,
 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
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###


And there is a module called png.mod

address@hidden:~$ ll -h /boot/grub/png.mod
-rw-r--r-- 1 root root 6.1K 2008-02-09 20:01 /boot/grub/png.mod

I'm guessing this is the reason those are parsed while others are not.
And I can see all the other images in the browser.  Maybe there needs
to be svg.mod & jpg.mod . There are no modules with this name in the
/boot/grub/ directory.

-- 
          Regards,
          Shirish Agarwal
  This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/

065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17




reply via email to

[Prev in Thread] Current Thread [Next in Thread]