All of lore.kernel.org
 help / color / mirror / Atom feed
* grub2 doesn't parse .jpeg files
@ 2008-02-25 13:45 shirish
  2008-02-25 13:53 ` Bean
  2008-02-28 10:22 ` Robert Millan
  0 siblings, 2 replies; 7+ messages in thread
From: shirish @ 2008-02-25 13:45 UTC (permalink / raw)
  To: grub-devel

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?
-- 
          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



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: grub2 doesn't parse .jpeg files
@ 2008-02-26  2:06 shirish
  2008-02-26  2:21 ` Pavel Roskin
  2008-02-26 10:42 ` Luca Capello
  0 siblings, 2 replies; 7+ messages in thread
From: shirish @ 2008-02-26  2:06 UTC (permalink / raw)
  To: grub-devel

>
>  Message: 5
>  Date: Mon, 25 Feb 2008 21:53:19 +0800
>  From: Bean <bean123ch@gmail.com>
>  Subject: Re: grub2 doesn't parse .jpeg files
>  To: "The development of GRUB 2" <grub-devel@gnu.org>
>  Message-ID:
>         <ca0f59980802250553u2f0f7b0amcba5b41e6388fed1@mail.gmail.com>
>  Content-Type: text/plain; charset=ISO-8859-1
>
>  On Mon, Feb 25, 2008 at 9:45 PM, shirish <shirishag75@gmail.com> 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

shirish@Mugglewille:~$ 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-28 10:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 13:45 grub2 doesn't parse .jpeg files shirish
2008-02-25 13:53 ` Bean
2008-02-28 10:22 ` Robert Millan
  -- strict thread matches above, loose matches on Subject: below --
2008-02-26  2:06 shirish
2008-02-26  2:21 ` Pavel Roskin
2008-02-28 10:22   ` Robert Millan
2008-02-26 10:42 ` Luca Capello

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.