Omnimaga

General Discussion => Technology and Development => Computer Usage and Setup Help => Topic started by: Hayleia on September 19, 2013, 03:34:21 pm

Title: Different formats within the same extension ? Ones accepted for GRUB2 ?
Post by: Hayleia on September 19, 2013, 03:34:21 pm
(Sorry if this is the wrong section, I think I never posted in the Computer section before so I don't know at all how it is organized).

So I have a dual-boot on my PC, and GRUB2 between the two OSes.
I found GRUB2 quite ugly so I wanted to customize it a bit. I downloaded a theme for GRUB2, applied it, and found it ugly too. So I thought about modifying the components of that theme.

So it had a background.png image. "Self-explanatory name" I thought. So I basically replaced it with another png image I made with Paint.Net with the same dimensions and did "sudo update-grub". I rebooted, waiting for my new image to show up and... an error comes instead, saying something like "wrong format".
I thought the problem could come from Paint.Net so I did the same with a png image from Gimp. Still the same error.
I thought that the initial png maybe was special so I tried a jpg from Gimp. Another error (don't recall it exactly).
For some reason I tried with a jpg image from Paint.Net. It worked.

So dafuq is happening ? Is there format differences within the same extension (I can think of compression but what more ?) ? Which extension+format should I use to produce GRUB2-compatible images (Paint.Net jpg works, but has no transparency) ? In other words, which software should I use to produce a GRUB2-compatible png ?
Title: Re: Different formats within the same extension ? Ones accepted for GRUB2 ?
Post by: Darl181 on September 19, 2013, 07:29:38 pm
I never really had much luck with modifying grub myself, but have you tried a tool like SBM (http://www.sourceslist.eu/blog/released-super-boot-manager-0-6-1-4/)?

If you're going for style, burg isn't half-bad either ;)  Same thing as grub, but with icons.
http://code.google.com/p/burg
Title: Re: Different formats within the same extension ? Ones accepted for GRUB2 ?
Post by: Hooloovoo on September 19, 2013, 07:36:07 pm
I know you have almost complete control of an image if you use Imagemagick's convert tool.
Title: Re: Different formats within the same extension ? Ones accepted for GRUB2 ?
Post by: Hayleia on September 20, 2013, 08:53:45 am
I never really had much luck with modifying grub myself, but have you tried a tool like SBM (http://www.sourceslist.eu/blog/released-super-boot-manager-0-6-1-4/)?

If you're going for style, burg isn't half-bad either ;)  Same thing as grub, but with icons.
http://code.google.com/p/burg
I didn't try SBM but I tried Grub Customizer and it didn't work.
And I didn't know about burg. GRUB2 also supports icons but burg (from Google images) doesn't seem bad at all.

I know you have almost complete control of an image if you use Imagemagick's convert tool.
I had bad experiences with that tool on Windows. I don't know how well it works on Linux but I don't trust it anymore.

@all, in fact pngs produced with GIMP work if they are edited working-pngs and not new pngs. I attached a photo if you want to know how it looks like now.