Newbie - Changing GRUB's Image

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jam12

Newbie - Changing GRUB's Image

Post by jam12 »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
lakehousetech
Level 4
Level 4
Posts: 450
Joined: Wed Nov 07, 2007 3:34 pm
Location: Toronto, ON

Re: Newbie - Changing GRUB's Image

Post by lakehousetech »

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!
Dennis99

Re: Newbie - Changing GRUB's Image

Post by Dennis99 »

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

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
jam12

Re: Newbie - Changing GRUB's Image

Post by jam12 »

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.
Dennis99

Re: Newbie - Changing GRUB's Image

Post by Dennis99 »

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:
jam12

Re: Newbie - Changing GRUB's Image

Post by jam12 »

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?
Dennis99

Re: Newbie - Changing GRUB's Image

Post by Dennis99 »

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:
Locked

Return to “Installation & Boot”