Newbie - Changing GRUB's Image

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Newbie - Changing GRUB's Image

Postby jam12 on Sat Mar 15, 2008 9:57 am

Hey guys,
I recently installed Linux Mint which is my first ever Linux Distro and am very happy so far. I'm getting used to common Terminal commands and realise that mostly things that are done in Linux, are via a CLI - a LOT different to windows.

Anyway, I wanna get rid of the default image on Grub and wanna replace it with one of my own. I've followed a few tutorials on the internet without any luck. What I have done is make an image of 640 x 480 with a max of 14 colours - its basically a linux penguin and windows logo. :D I've saved it in xpm format and gkzipped it. Now what do I do? I've copied it in the /boot/grub folder and also /boot/grub/images folder and the default GRUB screen is still there. What am I doing wrong?

Also, I've also found an archived folder message.mint in /etc/grub which seems to have parts of the original Linux Mint GRUB screen. Has this got anything to do with this.

Thanks guys,
Jam.
jam12
Level 1
Level 1
 
Posts: 9
Joined: Sat Mar 15, 2008 9:44 am

Linux Mint is funded by ads and donations.
 

Re: Newbie - Changing GRUB's Image

Postby lakehousetech on Sat Mar 15, 2008 10:49 am

You need to edit the grub.conf file so it knows what splash image to load. Check out this tutorial: http://www.sonic-world.com/blog/?p=28
It will explain everything. Good luck!
User avatar
lakehousetech
Level 4
Level 4
 
Posts: 454
Joined: Wed Nov 07, 2007 3:34 pm
Location: Toronto, ON

Re: Newbie - Changing GRUB's Image

Postby Dennis99 on Sat Mar 15, 2008 2:04 pm

Here is a superb page for learning about Grub:

http://users.bigpond.net.au/hermanzone/p15.htm

When you have got the image sorted try adding the foreground and background hex values as in the code below to your menu.lst to get the menu in a nice Linux Mint green with the highlight in a dark green. :)
I also added viewport 0 0 80 22 to make the menu window smaller to stay above the logo.

I did a simple xpm.gz for my setup.

mintysplash.jpg
mintysplash.jpg (7.94 KiB) Viewed 883 times


Code: Select all
# Pretty colours
#color cyan/blue white/blue
# Splashimage
viewport 0 0 80 22
splashimage=(hd1,0)/boot/grub/splashimages/mintysplash.xpm.gz
foreground 98fb98
background 006400
User avatar
Dennis99
Level 2
Level 2
 
Posts: 53
Joined: Wed Mar 12, 2008 3:57 pm
Location: Gorleston, Norfolk, UK

Re: Newbie - Changing GRUB's Image

Postby jam12 on Thu Mar 20, 2008 4:29 pm

Hey guys,
I looked at both links you've supplied and followed them both - however to my frustration my own boot image isn't there - still the default linux mint one. Here's the boot screen I made:
Image

Here is a copy of my GRUB menu -
Code: Select all
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
default      ---1

gfxmenu=/etc/grub/message.mint

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      20

# Pretty colours
color cyan/blue white/blue

# Splashimage for menu
splashimage=(hd0,0)/boot/grub/tux.xpm.gz

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=false

## ## End Default Options ##

title      Linux Mint, kernel 2.6.22-14-generic
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/sda1 ro quiet splash
initrd      /boot/initrd.img-2.6.22-14-generic
boot

title      Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/sda1 ro single
initrd      /boot/initrd.img-2.6.22-14-generic
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title      Windows Vista
root      (hd0,1)
savedefault
makeactive
chainloader   +1

Anyone see what I'm doing wrong? I'm suspecting gfxmenu may be the problem since message.mint contains the current image(s). ----> Then again I am a noob. :D

- Jam.
jam12
Level 1
Level 1
 
Posts: 9
Joined: Sat Mar 15, 2008 9:44 am

Re: Newbie - Changing GRUB's Image

Postby Dennis99 on Thu Mar 20, 2008 5:11 pm

Yes it's message.mint. When I posted my reply I totally forgot my grub is a non mint one! :?
I have yet to get my head around gfxmenu, all this cutting edge stuff at my age! :lol:
User avatar
Dennis99
Level 2
Level 2
 
Posts: 53
Joined: Wed Mar 12, 2008 3:57 pm
Location: Gorleston, Norfolk, UK

Re: Newbie - Changing GRUB's Image

Postby jam12 on Thu Mar 20, 2008 5:12 pm

Thanks for the reply.
If the problem is message.mint, why do so many splashscreen tutorials not mention this about the gfxmenu option. Is it just Linux Mint that has this problem?

Any other suggestions?
jam12
Level 1
Level 1
 
Posts: 9
Joined: Sat Mar 15, 2008 9:44 am

Re: Newbie - Changing GRUB's Image

Postby Dennis99 on Thu Mar 20, 2008 5:18 pm

I don't know if this forum allows links to other forums but if you google gfxmenu there is a long thread about it on the ubuntu forum with a howto on page 56 of the thread.

Have a read of that and then come back and explain to the rest of us what it is all about. :wink:
User avatar
Dennis99
Level 2
Level 2
 
Posts: 53
Joined: Wed Mar 12, 2008 3:57 pm
Location: Gorleston, Norfolk, UK

Re: Newbie - Changing GRUB's Image

Postby capncuttle on Thu Apr 10, 2008 5:15 pm

So, it used to be so easy to change one's grub screen by following the directions listed in the first answer to this post. Apparently, this way no longer works with Mint? Correct? Hmmm. That is kind of strange that I can do something so easy on Debian but not on Mint. Has this issue been sorted out yet or am I stuck with the MInt GFX screen? No offense, but I like being able to change things such as this. And, yes, I read the first and last pages of the Ubuntu thread. Not really interested in spending that much time on something that should take mere minutes. So, what is the secret?

And, before anyone loses their cool, I've used Linux for almost a year, still love it, currently dual-boot Debian and Mint, and just recently started using Mint a whole lot more than my beloved Debian so I'm not really here to stir up anything - just genuinely curious why something so easy has been rendered so difficult.

Otherwise, I'm really enjoying Mint and have even blogged about its greatness on MyOpera so....

Thanks!
capncuttle
Level 1
Level 1
 
Posts: 4
Joined: Fri Oct 05, 2007 2:09 pm

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: XplosiV and 17 guests