LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-17-2008, 02:48 PM   #1
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Rep: Reputation: 15
Splashimage for Grub2 in Lenny


Well, I have my Lenny/KDE3.5 Debian and I just installed Grub2 from the package "grub-pc" and I also installed "grub2-splashimages".

But I just can't find the way to make it happen, the grub works perfect! But I have readed so much and I still can't find the way to set a splashimage in my new grub2.

Have anyone achieved this?
 
Old 10-18-2008, 02:20 AM   #2
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
This is from memory but I think it was
set background_image /path of theme
 
Old 10-18-2008, 08:51 AM   #3
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Here is the code I added trying to get a background image, according to this page, I have a PNG image of 8 bpp and 680x480, and nothing happens, my Grub2 menu don't enter the "if", wich means the image is not being loaded, and it goes to the else, and set the colors red/black and red/green.

Anyone have any clue?

Code:
## BEGIN /etc/grub.d/05_debian_theme ###
#set menu_color_normal=cyan/blue
#set menu_color_highlight=white/blue

insmod png
if background_image /boot/grub/splashimages/splash1.png ; then
 set menu_color_normal=white/black
 set menu_color_highlight=white/green
else
 set menu_color_normal=red/black
 set menu_color_highlight=red/green
fi
 
Old 10-26-2008, 03:07 AM   #4
wificraig
Member
 
Registered: Jan 2008
Location: Southern Oregon
Distribution: Laptop: DesktopBSD1.6, openSuse11, Mandriva, Mepis7, BackTrack3....USB: Mandriva2009, Debian-Lenny,
Posts: 82

Rep: Reputation: 16
menu.lst

Did you place a line in your grub/menu.lst?

splashimage=(hd0,0)/boot/grub/splashimages/splash1.png
 
Old 10-28-2008, 07:59 AM   #5
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by wificraig View Post
Did you place a line in your grub/menu.lst?

splashimage=(hd0,0)/boot/grub/splashimages/splash1.png
This is different now, It's Grub2, now the file to edit is /boot/grub/grub.cfg

But I can't find to make it work =,(
 
Old 10-30-2008, 04:07 PM   #6
wificraig
Member
 
Registered: Jan 2008
Location: Southern Oregon
Distribution: Laptop: DesktopBSD1.6, openSuse11, Mandriva, Mepis7, BackTrack3....USB: Mandriva2009, Debian-Lenny,
Posts: 82

Rep: Reputation: 16
Grub 2

I have a Grub2 that I use with a custom boot CD. I have the grub splash image as an xpm.gz file.
The menu.lst line to call the splash image is:
splashimage=/boot/grub/penguin.xpm.gz
 
Old 12-16-2008, 04:52 AM   #7
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
I was able to install the splash image with GRUB2 and GRUB-PC as per here:
 
Old 03-07-2009, 05:05 AM   #8
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kushalkoolwal View Post
I was able to install the splash image with GRUB2 and GRUB-PC as per here:
I finally got my background image for Grub2
 
Old 09-22-2009, 11:13 PM   #9
agalgo
LQ Newbie
 
Registered: Jan 2006
Location: Mexico City
Distribution: debian lenny
Posts: 18

Rep: Reputation: 0
two splashimages

Thanks to kushalkoolwal for the useful link. It was really carifying. I have installed grub2 with good results.

The thing is, I know have two splashimages comming onscreen. One, for grub, and the other sits there while the system boots.

I'm running debian lenny (stable).

It's just odd. I thought that by changing the grub image the other would change too... Surprise, it doesn't.

I found the directory for the image the system is calling. I overwrited the image with another one, using the same name... Still getting the same background... A DebianEdu image with a tux...

If anyone knows what pointers I should follow to change the image or, simply get rid of it, I'd pretty much appreciate it.
 
Old 09-29-2009, 07:34 AM   #10
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
if interested my signature has a grub2 ....customised background howto.
 
Old 10-21-2009, 08:37 AM   #11
rambutan
LQ Newbie
 
Registered: May 2007
Location: Ridgeland, WI USA
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
aus9 or others,
I'm having trouble getting the image. (Ubuntu 9.10 Beta with Grub 1.97 beta3)
I edited /etc/grub.d/05_debian_theme for the tga I want.
Then I ran update-grub and saw my image.tga listed but it doesn't show on reboot. Looking in /boot/grub/grub.cfg I see
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

I expected things like insmod tga and the image listed somehow.

Please post the theme section (05) from a working grub.cfg to help me trouble shoot.
 
Old 10-21-2009, 10:10 AM   #12
rambutan
LQ Newbie
 
Registered: May 2007
Location: Ridgeland, WI USA
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
I found an example here:
http://ubuntuforums.org/showthread.php?t=1182436&page=4
Post 66 showed the section I wanted. Then I edited /boot/grub/grub.cfg and now I have the splash image working.
Here is what I have now:
### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,7)
search --no-floppy --fs-uuid --set c20d5e70-a842-4fbb-914c-5ec096e1754d
insmod tga
if background_image /usr/share/images/grub/Winter.tga ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=white/black
set menu_color_highlight=black/white
fi
### END /etc/grub.d/05_debian_theme ###
 
Old 10-21-2009, 12:16 PM   #13
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
Quote:
Originally Posted by megaprog View Post
I finally got my background image for Grub2
You can also use startupmanager to set grub background.
Code:
sudo aptitude search startupmanager
sudo aptitude install startupmanager
 
  


Reply

Tags
grub2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing GRUB or GRUB2 from scratch williamv2 Linux - Newbie 10 03-31-2009 09:31 PM
Any distro defaultly using GRUB2? gabeyg Linux - General 1 08-19-2007 02:11 AM
Grub Legacy or Grub2? RAVC Linux - Software 2 01-21-2006 09:43 AM
Error 18 when trying to boot with GRUB or GRUB2 DaneM Linux - Software 6 09-20-2005 02:45 PM
Editing GRUB2 ssinustwo Fedora - Installation 1 07-20-2004 09:16 PM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration