How To: Install and use gfxboot(Graphical Grub)

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
merlwiz79
Level 8
Level 8
Posts: 2419
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

How To: Install and use gfxboot(Graphical Grub)

Post by merlwiz79 »

Celena and Daryna
only need to edit gfxmenu /etc/grub/message.mint, after copying the gfxboot menu(message.*) file to /etc/grub

Only tested on Cassandra
Download grub-gfxboot:
Main(Gnome) Edition:
http://www.MegaShare.com/259377
http://rapidshare.com/files/50057089/gr ... -1_all.deb
http://www.box.net/shared/oo619zbyov

XFCE Community Edition:
http://www.MegaShare.com/259378
http://rapidshare.com/files/50057132/gr ... -1_all.deb
http://www.box.net/shared/sjrlbnycun

KDE Community Edition:
http://www.MegaShare.com/259376
http://rapidshare.com/files/50057063/gr ... -1_all.deb
http://www.box.net/shared/6i758dq1t2

My message.suse edited message files:

gfxmenu /boot/grub/message.minty Screenshot
http://www.MegaShare.com/259405
http://rapidshare.com/files/49590152/message.minty
http://www.box.net/shared/0h9mb0bgyt

gfxmenu /boot/grub/message.mintyblue Screenshot
http://www.MegaShare.com/259406
http://rapidshare.com/files/49590382/message.mintyblue
http://www.box.net/shared/y6xhg5esfa

gfxmenu /boot/grub/message.mint2 Screenshot
http://www.MegaShare.com/259404
http://rapidshare.com/files/50058987/message.mint2
http://www.box.net/shared/lmfqfnyany

My compiled message files:(currently still working on)
Currently there is no help(FIXED) and it doesn't stop the list from over writing the logo.(FIXED menu will scroll)
gfxmenu /boot/grub/message.mint1 Screenshot
http://www.MegaShare.com/260291
http://rapidshare.com/files/50282219/message.mint1

gfxmenu /boot/grub/message.mint1.1 Screenshot
http://www.MegaShare.com/260293
http://rapidshare.com/files/50282264/message.mint1.1

gfxmenu /boot/grub/message.mint1.2 Screenshot
http://www.MegaShare.com/260297
http://rapidshare.com/files/50290971/message.mint1.2


1. Start by backing up your current menu.lst

Code: Select all

sudo cp -pv /boot/grub/menu.lst /boot/grub/menu.lst.backup

2.Uninstall grub

Code: Select all

sudo aptitude remove grub
3. Install your grub-gfxboot .deb
  • Double click on the file and click install
4. Copy the message file to you want to use /boot/grub (example used message.mint1)

Code: Select all

sudo cp message.mint1 /boot/grub/
5. Add line to beginning of /boot/grub/menu.lst and save file:(example used message.mint1)

Code: Select all

gfxmenu /boot/grub/message.mint1
Main:

Code: Select all

sudo gedit /boot/grub/menu.lst
XFCE CE:

Code: Select all

sudo mousepad /boot/grub/menu.lst
KDE CE:

Code: Select all

sudo kate /boot/grub/menu.lst
6. Setting up GRUB:
Open terminal:

Code: Select all

sudo grub

Code: Select all

find /boot/grub/stage1
use the (hdx,y) shown for the rest. Mine is (hd3,0)

Code: Select all

root (hdx,y)

Code: Select all

setup (hdx,y)

Code: Select all

quit
7. Installing Grub: (Mine is (hd3,0) so I use sdd for my installation)

Code: Select all

sudo grub-install /dev/sdx
Use this to help you find the correct place to install.

Code: Select all

(hd0)	/dev/sda
(hd1)	/dev/sdb
(hd2)	/dev/sdc
(hd3)	/dev/sdd
(hd4)	/dev/sde
8. Now reboot to see the Grub

Trouble shooting:
Comment out "Pretty Colors" and "Hidden Menu" on your menu.lst
Make sure the line gfxmenu /boot/grub/ is correct.

Editing my message files with your own images.

Code: Select all

mkdir /home/USERNAME/whatever
cd /whatever
cpio -i < /boot/grub/message.mint1 # replace it by the name of you message
edit the pictures
sudo ls . |cpio -o > /boot/grub/message.new
Now you can edit the menu.lst to use the new one.
The images have to be the same name and file format.
They also need to be 800x600.
IF

Code: Select all

sudo ls . |cpio -o > /boot/grub/message.new
doesn't work use

Code: Select all

sudo ls . |cpio -o > /home/USERNAME/message.new
Then just copy message.new to /boot/grub/
Last edited by merlwiz79 on Fri Dec 14, 2007 2:48 pm, edited 10 times in total.
Image

User avatar
hairy_Palms
Level 4
Level 4
Posts: 292
Joined: Mon Nov 27, 2006 10:46 am

Post by hairy_Palms »

gfxboot improves grub so much,ive been using it since dapper, why only suse seems to have it by default confuses me. also this post on the ubuntuforums has a list of lots of themes at the bottom
http://ubuntuforums.org/showpost.php?p= ... ostcount=1

User avatar
merlwiz79
Level 8
Level 8
Posts: 2419
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Post by merlwiz79 »

hairy_Palms wrote:gfxboot improves grub so much,ive been using it since dapper, why only suse seems to have it by default confuses me. also this post on the ubuntuforums has a list of lots of themes at the bottom
http://ubuntuforums.org/showpost.php?p= ... ostcount=1
I have compiled my own and those all say Ubuntu.
Image
Image

User avatar
Ede
Level 4
Level 4
Posts: 291
Joined: Thu Jun 14, 2007 7:02 pm
Location: Norway

Post by Ede »

Now that you'we written such an exellent guide, how about writing one about how to make your own custom gfx-boots? :)

User avatar
merlwiz79
Level 8
Level 8
Posts: 2419
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Post by merlwiz79 »

Ede wrote:Now that you'we written such an exellent guide, how about writing one about how to make your own custom gfx-boots? :)
Thanks. :)
You can edit the ones I posted.
If you want to compile your own, I don't know enough to make a complete how to for that. :(
Image

User avatar
clem
Level 12
Level 12
Posts: 4152
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem »

Merlwiz: Celena is currently using 0.97-5, shall I upgrade to your compiled 0.97-11? I didn't notice any problem with the version I have but I didn't test the installation of a new kernel. Also, why do you need three different packages for Gnome/KDE/XFCE?

Clem
Image

User avatar
clem
Level 12
Level 12
Posts: 4152
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem »

I've got tweaks in /sbin/update-grub so I think a kernel upgrade wouldn't create any problems. I'll test it though, if it does I'll upgrade to 0.97-11.

Clem
Image

User avatar
hairy_Palms
Level 4
Level 4
Posts: 292
Joined: Mon Nov 27, 2006 10:46 am

Post by hairy_Palms »

I have compiled my own and those all say Ubuntu.
no they dont, they are mostly generic, out of the whole lot only 3 have ubuntu logos on, my personal favorite is
Image

which you can download from http://ubuntuforums.org/showpost.php?p= ... stcount=84

User avatar
merlwiz79
Level 8
Level 8
Posts: 2419
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Post by merlwiz79 »

clem wrote:Merlwiz: Celena is currently using 0.97-5, shall I upgrade to your compiled 0.97-11? I didn't notice any problem with the version I have but I didn't test the installation of a new kernel. Also, why do you need three different packages for Gnome/KDE/XFCE?

Clem
For anyone else how wishes to know.
The original 0.97-11 I had was meant for Debian not Ubuntu.
So when the Kernel tried to install it wouldn't, because some files where missing or incorrectly configured.
Once I fixed those the kernel installed but my menu.lst was configured for Debian.
So this meant the new title in my menu.lst was Debian and not Linux Mint 3.0 KDE like it was suppose to be.
So I made 3 different packages with the correct upgrade-grub so it would have the correct title and not all Linux Mint 3.0.
If I didn't do this everyone who has this installed would all see the title Linux Mint 3.0 even if they had the XFCE CE or KDE CE.
Image

User avatar
linuxviolin
Level 8
Level 8
Posts: 2082
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Post by linuxviolin »

hairy_Palms wrote:why only suse seems to have it by default confuses me
No. Frugalware use GrubGFX by default... :lol:
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)

User avatar
clem
Level 12
Level 12
Posts: 4152
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem »

Merlwiz, this is to do with /sbin/update-grub, in Cassandra it's not in there but in /usr/sbin/update-grub. I'll run some checks but for Celena I don't think we'll need any debs for that and things should work out of the box for all three editions (I'll send you my notes later on and to Boo as well).

Clem
Image

User avatar
Ede
Level 4
Level 4
Posts: 291
Joined: Thu Jun 14, 2007 7:02 pm
Location: Norway

Post by Ede »

This thread deserves a sticky.

McLovin

Re: How To: Install and use gfxboot(Graphical Grub)

Post by McLovin »

ok, i am having a problem creating the new message.whatever, when i run the command

Code: Select all

sudo ls . |cpio -o > /boot/grub/message.new
it gets into the folder, but it is creating another archive, within the archive, so if i name it message.new, it creates another message.new inside of it, and doubls the file size. why???? and how the hell can i fix this?

User avatar
merlwiz79
Level 8
Level 8
Posts: 2419
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: How To: Install and use gfxboot(Graphical Grub)

Post by merlwiz79 »

McLovin wrote:ok, i am having a problem creating the new message.whatever, when i run the command

Code: Select all

sudo ls . |cpio -o > /boot/grub/message.new
it gets into the folder, but it is creating another archive, within the archive, so if i name it message.new, it creates another message.new inside of it, and doubls the file size. why???? and how the hell can i fix this?
When you extract the message.* you have to remove it from the same folder.
Then you edit and run

Code: Select all

sudo ls . |cpio -o > /boot/grub/message.new
Also I have added others here(with source):
http://www.gnome-look.org/usermanager/s ... n=contents
Image

McLovin

Re: How To: Install and use gfxboot(Graphical Grub)

Post by McLovin »

i cd to the folder where i am making th new gfxboot, then i run the command, the only files there are the images, and the text/config files needed to run the boot. the problem is that it is creating the archive, and inside the archive, there is a second archive of the same name.

User avatar
merlwiz79
Level 8
Level 8
Posts: 2419
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: How To: Install and use gfxboot(Graphical Grub)

Post by merlwiz79 »

McLovin wrote:i cd to the folder where i am making th new gfxboot, then i run the command, the only files there are the images, and the text/config files needed to run the boot. the problem is that it is creating the archive, and inside the archive, there is a second archive of the same name.
Ok run it this way instead.

Code: Select all

sudo ls . |cpio -o > /home/USERNAME/message.XXXXX
Image

McLovin

Re: How To: Install and use gfxboot(Graphical Grub)

Post by McLovin »

I've tried that as well, still does the same thing. I'm at a loss as to why.

User avatar
merlwiz79
Level 8
Level 8
Posts: 2419
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: How To: Install and use gfxboot(Graphical Grub)

Post by merlwiz79 »

McLovin wrote:I've tried that as well, still does the same thing. I'm at a loss as to why.
Can you compress it into an archive and upload it?
Then I can try it and give you the finished product.
Image

McLovin

Re: How To: Install and use gfxboot(Graphical Grub)

Post by McLovin »

sure, i'll get it zipped up tonight

McLovin

Re: How To: Install and use gfxboot(Graphical Grub)

Post by McLovin »

ok, here is he zip with the files for the gfxboot i made, there is also the message.x11mint archive in there as well, just so you can see what i am talking about, i send it to mint-upload, here's the link http://files.mint-space.com/getfile,200 ... r.bz2.html
Attachments
x11-mint-message.tar.bz2
the zip file
(138.02 KiB) Downloaded 204 times

Post Reply

Return to “Tutorials”