LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-04-2003, 03:34 PM   #1
garlam
LQ Newbie
 
Registered: Aug 2003
Location: Pavia, Italy
Distribution: Slackware 9.0
Posts: 20

Rep: Reputation: 0
Grub


I installed grub 0.92 and patched it with grub-0.92-vga.patch in order to set a background inmage.

I build an image 640x480 16 colors with extension .xpm and i gzipped it

I added this line to the config file:

splashimage=(hd1,5)/boot/grub/splash.xpm.gz

but what i see is only a black background.

Wath doesn' t work ????

thank.

 
Old 08-04-2003, 04:38 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you have a /boot partition, then all paths are relative to /boot.
So try this instread:
Code:
splashimage=(hd1,5)/grub/splash.xpm.gz
Also, I believe that the GRUB splash images can only have a maximum of 14 colors.
 
Old 08-05-2003, 04:49 AM   #3
garlam
LQ Newbie
 
Registered: Aug 2003
Location: Pavia, Italy
Distribution: Slackware 9.0
Posts: 20

Original Poster
Rep: Reputation: 0
I don't have a /boot partition. I have only a swap partition (hd1,4) and a ext3 partition (hd1,5).

I tryed also with a 14 colors image but without results.

I used this command:

Quote:
convert -geometry 640x480 -colors 14 image.jpg splash.xpm && gzip splash.xpm
 
Old 08-05-2003, 03:11 PM   #4
sketchdude
LQ Newbie
 
Registered: Apr 2003
Distribution: slackware 9.1, FreeBSD, WinXP
Posts: 5

Rep: Reputation: 0
This page was helpful to me when I was setting up grub with a background image.

Find the script on this page to check if your patched version of grub will actually support images. Also, download one of the authors background images to use as a test. -It took me a couple of tries with gimp to create an image that would work.

If all else fails you can get a patched version of grub from the debian unstable source tree. There is a link somewhere on the page.

http://ruslug.rutgers.edu/~mcgrof/grub-images/
 
Old 08-06-2003, 04:01 PM   #5
garlam
LQ Newbie
 
Registered: Aug 2003
Location: Pavia, Italy
Distribution: Slackware 9.0
Posts: 20

Original Poster
Rep: Reputation: 0
Thank for the link.

I have done a little step forward:
previously (with grub 0.92) everytime I typed the splashimage
command grub sent an error 27 (Unknown coomand). I use the shell file checksplash.sh ad it told me that the splashimage
wasn't supported.

Now I use the 0.93 version and I applyed the grub-0.93-vga16 patch,
so the splashimage command is recognized but the background is still black.

I think that the problem is on the images I used.

Do you have a link where I can download some images for my tests????
 
  


Reply



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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration