DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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
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
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.
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.
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 ###
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.