How to have a graphical GRUB (Updated Package Available)

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#161 Post by ASRI éducation »

Hello CatDude.

I see that this discussion has not been used for two years...

My question: do you think the package grub-gfxboot-ext4-and-inode256-compatible.tar.gz is compatible with latest versions of Puppy Precise ?

Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#162 Post by ASRI éducation »

@ Mike
Thank you for your answer via mp.
I tested package (grub-gfxboot-ext4-and-inode256-compatible.tar.gz), it is fully compatible with Puppy Precise.
This is great!
So again, gfxmenu will be used by many French puplets.

When using the old version of the package, I asked myself a few questions. Today, I would place them on the forum.
1 - Is it possible to locate the help file (en.hlp)? It would be practical with the new multilingual Puppy.
2 - What is the function of "languages" ​​file?
3 - What is the function of "en.tr" ​​file?

I have other issues with my current tests.
4 - Obviously, I tried to edit the "pupsta1" file. I started by back.jpg file, normally it's simple, but I have a problem. I created an image (jpg 800x600) to replace the one included in cool-cat_no-penguins_800x600.gz.
But it does not work and Grub offers me a black screen (see, screenshots).
Why is the picture is not compatible??

Cordialement,
Attachments
back.jpg
Image file used (jpg 800x600)
(64.28 KiB) Downloaded 351 times
boot_black_background.png
black background
(6.07 KiB) Downloaded 337 times
Last edited by ASRI éducation on Sun 11 Aug 2013, 04:07, edited 1 time in total.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#163 Post by mikeb »

Pas de probleme ;)

4. Check background=back.jpg in the gfxboot.cfg name matches your jpg. I cannot see any other problem with the image you have used.

1. locate.... as in have a french version? The basic idea seems to be the languages file specifies which xx.lng file to use. Perhaps there is a way to select a language...
2...see above
3 don't know though related to language too.

On a general note the graphical menu will also work with standard grub 1 and when used with such the editing of the kernel parameters works as intended.

mike

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#164 Post by ASRI éducation »

mikeb wrote:4. Check background=back.jpg in the gfxboot.cfg name matches your jpg. I cannot see any other problem with the image you have used.
Hello mike.

4 - background=back.jpg in the gfxboot.cfg => it seems to be ok

Code: Select all

; Sections are read in the order given in base::layout, with section 'base'
; implicitly added at the end. If a config value is given more than once,
; the first entry wins.
;
; If a screen resolution can't be set, 640x480 is used as fallback (and
; section '640x480' added to the layout list).
;
; If the penguin screen is active, section 'penguin' is automatically added
; to the layout list.
;
; Setting livecd=1 implicitly adds section 'live' to the layout list.
;
; Color values: 24 bit RGB (e.g. 0xff0000 = red).
;

[base]
layout=800x600
; menu background transparency (0..255)
menu.transparency=0x20
; default font
font.normal=16x16.fnt
; main menu font
font.large=16x16.fnt
; background image
background=back.jpg
; max. visible main menu items
mainmenu.entries=8
; minimal main menu selection bar width
mainmenu.bar.minwidth=300
; main menu selection bar transparency (0..255)
mainmenu.bar.transparency=80
; main menu colors
mainmenu.bar.color=0xffffff
mainmenu.normal.fg=0xffffff
mainmenu.selected.fg=0x000000
; boot option colors
bootopt.label.fg=0x00FF00
bootopt.text.fg=0xffffff
; menu colors
menu.normal.bg=0xd8deed
menu.normal.fg=0x000000
menu.selected.bg=0x6c6c6c
menu.selected.fg=0xffffff
; window colors
window.bg=0xd8deed
window.fg=0x000000
window.title.bg=0x217b05
window.title.fg=0xffffff
window.title.error.bg=0xc00000
; help system colors
help.link.fg=0x0000a0
help.link.selected.fg=0xffffff
help.link.selected.bg=0x0000a0
help.highlight.fg=0x009000
; panel colors
panel.normal.fg=0x00FF00
panel.title.fg=0xffffff
panel.f-key.fg=0xffe050

[800x600]
; screen size
screen.size=800,600
; upper left corner, if x = -1, center horizontally
mainmenu.pos=-1,160
; boot option input field position
bootopt.pos=165,565

[640x480]
; screen size
screen.size=640,480
; upper left corner, if x = -1, center horizontally
mainmenu.pos=-1,122
; boot option input field position
bootopt.pos=263,380
In console

Code: Select all

# cpio -iv < pupsta1
16x16.fnt
back.jpg
en.hlp
en.tr
gfxboot.cfg
init
languages
timer_a.jpg
647 blocks
# ls | cpio -ov > pupsta1
16x16.fnt
back.jpg
en.hlp
en.tr
gfxboot.cfg
init
languages
cpio: File pupsta1 grew, 294912 new bytes not copied
pupsta1
timer_a.jpg
1157 blocks
# 
mikeb wrote:1. locate.... as in have a french version? The basic idea seems to be the languages file specifies which xx.lng file to use. Perhaps there is a way to select a language...
I have a french version avaible, but I only use Puppy. So I do not know if other distribution (suze?) propose the Grub boot multilingual.
If this is possible, we must try to use it, it will be easy to find translations.

Très cordialement, :D
Attachments
wd1folder.jpg
My WD1 folder (I modified only back.jpg)
(26.53 KiB) Downloaded 317 times
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#165 Post by mikeb »

hmmmm

are you removing the original pupsta1 before repacking? Sorry if stating the obvious....
If a screen resolution can't be set, 640x480 is used as fallback
I assume you have had it running at 800x600 with a sample graphic...ie the framebuffer is happy at that resolution

I have no information on multilingual use and a search produced nothing as yet...

If it continues to be stubborn I will try building it here....

mike

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#166 Post by mikeb »

Ok yes weird... it did not work here either.
I tried saving as another jpg...the same.

I finally opened a working back.jpg, opened the problem one and copied and pasted and saved.... that worked. Here is the working image file. I really do not know what is different about it....

mike

edit... the working one has ppi set to 300dpi yours was 72dpi...though I do not see how that would affect it...
Attachments
back.jpg
(32.11 KiB) Downloaded 655 times

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#167 Post by ASRI éducation »

Mike,
Yes, with your image file, all is ok.
All was in the dpi.
Again thank you!
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#168 Post by ASRI éducation »

mikeb wrote:I finally opened a working back.jpg, opened the problem one and copied and pasted and saved.... that worked. Here is the working image file. I really do not know what is different about it....
This is exactly what I did.
The problem may come from the configuration of Gimp (I have not changed the default config).
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#169 Post by mikeb »

Lets do a working graphical grub dance........ :lol: :shock: :lol:

now for a matching bootsplash.... :lol:

mike

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#170 Post by ASRI éducation »

@ mikeb
I tried to create a new image, but it does not work.
I propose to continue the discussion here Message files for the GRUB gfxmenu.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#171 Post by charlie6 »

Hi Catdude !
many thanks for this graphical GRUB !
it brings some pleasant stuff in the Puppy daily use !

I've installed grub-gfxboot-for-puppy-updated.tar.gz as my Puppy is running on an ext3 type partition.

So i got it nice running in forum member Pemasu's Wheezy.
I have several pupsave files to be used inside the same «subdir».
Now managing to specify boot parameters inside /grub/menu.lst to load one psecific pupsave file per menu reference ...i went to onsider these forum threads:

http://www.murga-linux.com/puppy/viewtopic.php?t=38030
and
http://www.murga-linux.com/puppy/viewto ... 7&start=15
as also
http://puppylinux.org/wikka/BootParamet ... y#hn_Psave
This last one mentions the Psave parameter that is said to solve my question ... but i could'nt get it to work..:-( (i added psave=/wheezysave-myfile.3fs to the kernel line inside /grub/menu.lst)

I also tried some PUPSAVE=/mypupsavefile.3fs inside /grub/menu.lst; as also to edit the init script inside initrd.gz; but without success.

Any idea on how to solve would be much appreciated.
Thanks in advance
Charlie

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#172 Post by ASRI éducation »

Hello,
Is it possible to have multilingual boot with gfxmenu ?
Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#173 Post by mikeb »

Ok if you unpack it you will see a languages file and 2 en. files so yes I believe its is meant to support other langyages.

On the other hand I do not have a clue how it is done...perhaps the languages file specifies what there is and then an option appears.

catdude may have a better idea.

mike

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#174 Post by ASRI éducation »

mikeb wrote:Ok if you unpack it you will see a languages file and 2 en. files so yes I believe its is meant to support other langyages.

On the other hand I do not have a clue how it is done...perhaps the languages file specifies what there is and then an option appears.
Ok, I'll try that.
Thank you.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#175 Post by charlie6 »

Hi,
this is surely irrelevant to these lasts posts ... :? i'm jumping on the opportunity this thread is somewhat brought back to life ... :wink:

I'd like to open a specific wheezysave-XXX.3fs, or whatever raringsave-YYY.3fs ...precisesaveXXX.3fs, personal save file using the grub menu ...assuming there are more than one personal save files present together in the "psubdir" folder (of course all being wheezysave-XXX files for example) ? in order to display their names in the graphical grub menu.
Till now, each line of the grub menu is only relevant to the sole personal save file present in the psubdir folder.

This would be similar to what the psave bootparameter was performing when (... in those "good old times") all personal save files were named pupsave-XXX.xfs (see here http://puppylinux.org/wikka/BootParametersPuppy).

I have tried - without success - to adapt the initrd script starting from this thread http://www.murga-linux.com/puppy/viewtopic.php?t=38030.

Hope being clear enough ...
Any idea ...?

Many thanks in advance
Charlie

Pelo

I was surprised by the nice menu of Pupjibaro Jessie.

#176 Post by Pelo »

I was surprised by the nice menu of Pupjibaro Jessie. In fact josejp2424 uses your method.
:) Ah i need to practice it for my numerous multiboot pendrives.

Post Reply