LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub gfxmenu documentation? (https://www.linuxquestions.org/questions/linux-newbie-8/grub-gfxmenu-documentation-617473/)

johnsfine 01-30-2008 02:53 PM

grub gfxmenu documentation?
 
Please tell me where to find documentation on the gfxmenu command in grub.

I've tried every google combination I can think of and got lots of hits, but nothing useful.

If I understand correctly, gfxmenu requires a patch to grub, so it isn't in grub documentation.

My partial understanding so far of gfxmenu is based on SimplyMEPIS-CD_7.0-rel_32.

The file boot/grub/menu.lst tells grub what to do.
That contains the line gfxmenu /boot/grub/message.
That file is a cpio archive containing a bunch of other files.

I can't quite figure out how those files define the behavior of the menu, especially those aspects of the menu that I'd like to change.

The most important file inside /boot/grub/message seems to be init. I think that is an executable (I'm not sure). It contains some text messages that I might want to change and probably some executable behavior I would want to change.

If init is an executable, where is the source code available? If it isn't executable, what is it?

b0uncer 01-30-2008 03:19 PM

Code:

file init
should tell you whether or not it's binary, plaintext or something else. If it's plaintext, cat/less it and you'll see what is inside.

johnsfine 01-30-2008 03:54 PM

Quote:

Originally Posted by b0uncer (Post 3040310)
Code:

file init

I should have mentioned I tried that and it gave the answer "data", which I think means it doesn't know.

The file is not plain text. It contains some chunks of text, as you would expect an uncompressed executable to contain. So I'm moderately confident it is an executable. I'd like to see the source code.

I'd like to see grub gfxmenu documentation, even if I otherwise figure out what the init file contains.

bigrigdriver 01-30-2008 04:02 PM

Init is binary (try opening it in a text editor, see what you get).

You could alway try downloading the grub-gfxmenu.tar.gz to see if you can have better luck compiling your own.

johnsfine 01-30-2008 04:43 PM

Quote:

Originally Posted by bigrigdriver (Post 3040347)
You could alway try downloading the grub-gfxmenu.tar.gz

Thanks, that got me a lot closer. I looked at some of the human readable files in there, and those told me that what I'm really looking for is called "gfxboot".

I googled gfxboot and see lots of hits that are much closer to what I wanted, but none yet with content I understand. I'm doing this web research on Windows unfortunately, so I have to wait till I get back to Mepis to try basic things like looking for gfxboot in the package manager and seeing if I can get its source code that way.

bigrigdriver 01-30-2008 05:33 PM

You can get the tarball from Ubuntu. When you unpack it, you will see a folder named Suse, with many files inside (including Themes, which is probably what you are looking for).

http://www.by.kernel.org/pub/ubuntu/...ain/g/gfxboot/

Anyhow, tarball in an Ubuntu folder in the kernel.org repo, with Suse name all over the insides. ??? Ah, community effort. Now I understand.


All times are GMT -5. The time now is 01:46 AM.