Unix Technical Forum

Grub on slackware 11.0

This is a discussion on Grub on slackware 11.0 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Has anyone got "splashimage" to work with the grub package that comes with 11.0? Can't seem to get it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:45 PM
cizu jones
 
Posts: n/a
Default Grub on slackware 11.0

Has anyone got "splashimage" to work with the grub package
that comes with 11.0?
Can't seem to get it to work..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:45 PM
Peter
 
Posts: n/a
Default Re: Grub on slackware 11.0

On Mon, 22 Jan 2007 14:51:45 +0100, cizu jones wrote:

> Has anyone got "splashimage" to work with the grub package
> that comes with 11.0?
> Can't seem to get it to work..


Grab the patches from Gentoo.

--
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:45 PM
=?ISO-8859-15?Q?J=E9r=F4me?= PRIOR
 
Posts: n/a
Default Re: Grub on slackware 11.0

> Has anyone got "splashimage" to work with the grub package
> that comes with 11.0?
> Can't seem to get it to work..


I try to adapt the last on splashimage site to Slackware's Grub, compil
work fine, but it do not patch anything and it do not manage image.

I'm interresting on your work around it.

thx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:45 PM
Peter
 
Posts: n/a
Default Re: Grub on slackware 11.0

On Mon, 22 Jan 2007 14:51:45 +0100, cizu jones wrote:

> Has anyone got "splashimage" to work with the grub package
> that comes with 11.0?
> Can't seem to get it to work..


This link may help get you started on the patches. You don't need all of
them.

http://viewcvs.gentoo.org/viewcvs.py...atchsets/grub/

I would try:
001_all_grub-0.95.20040823-splash.patch

You will, of course, need a suitable image. 640x480.
Here's a Gentoo example.
http://viewcvs.gentoo.org/viewcvs.py...v=1.1&view=log


Good luck!

--
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:45 PM
Douglas Mayne
 
Posts: n/a
Default Re: Grub on slackware 11.0

On Mon, 22 Jan 2007 14:51:45 +0100, cizu jones wrote:

> Has anyone got "splashimage" to work with the grub package
> that comes with 11.0?
> Can't seem to get it to work..
>

I haven't done this lately, but I wrote about this a couple of years ago:
http://groups.google.com/group/alt.o...27db6954c75b51
The link also includes a link to a splash screen that I like.

Perhaps, the grub from Fedora Core 6 could be used, instead of
applying the patch to the basic grub source included with slack 11.

--
Douglas Mayne


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:45 PM
=?ISO-8859-15?Q?J=E9r=F4me?= PRIOR
 
Posts: n/a
Default Re: Grub on slackware 11.0

> On Mon, 22 Jan 2007 14:51:45 +0100, cizu jones wrote:
>
> > Has anyone got "splashimage" to work with the grub package
> > that comes with 11.0?
> > Can't seem to get it to work..
> >

> I haven't done this lately, but I wrote about this a couple of years
> ago:
> http://groups.google.com/group/alt.o...27db6954c75b51
> The link also includes a link to a splash screen that I like.
>
> Perhaps, the grub from Fedora Core 6 could be used, instead of
> applying the patch to the basic grub source included with slack 11.
>


I prefer to not use splash instead of a fedora/deb/other pkg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:45 PM
Peter
 
Posts: n/a
Default Re: Grub on slackware 11.0

On Mon, 22 Jan 2007 17:45:28 +0000, Peter wrote:

snip.....

The patch works and grub correctly can load a graphics image when provided.

Remember, after compiling the source, copy the files from
/usr/lib/grub/i386-pc/ to /boot/grub
or /usr/local/lib... if you used configure's defaults.
(this is important otherwise the splashimage code won't be used)

copy the image .xpm only to /boot/grub
(gzip if desired but not necessary)

Add the following command to your menu.lst or grub.conf file (whichever
you use)

splashimage=(hd#,##)/boot/grub/imagename.xpm[.gz]

where # is the hard disk unit (starting with 0) and
## is the partition # (starting with 0).

So, (hd0,5) would be the sixth partition on disk 1.

--
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 08:45 PM
Damjan
 
Posts: n/a
Default Re: Grub on slackware 11.0

> Has anyone got "splashimage" to work with the grub package
> that comes with 11.0?
> Can't seem to get it to work..


You meand the "splashimage" command, the one that displays an image
background in the Grub menu right?

The package from Slackware 10.2 seems to support it and works fine for me..
What exactly doesn't work for you?
You know that you need to have a specially created xpm file for it, right?
AFAIK, the xpm must not have more that 16 colors.


--
damjan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 08:45 PM
cizu jones
 
Posts: n/a
Default Re: Grub on slackware 11.0

Thanks for suggestions guys! I'll check out the patch.
Hope this will be included in the next slack release

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 08:45 PM
Peter
 
Posts: n/a
Default Re: Grub on slackware 11.0

On Tue, 23 Jan 2007 10:18:38 +0100, cizu jones wrote:

> Thanks for suggestions guys! I'll check out the patch.
> Hope this will be included in the next slack release


I agree. This is an old, mature patch, that has been proven. I realize the
Slack way is not to patch sources if possible, but this patch does not
affect or alter the basic functionality. Omit the splashimage= line in
menu.lst and nothing changes. You can even disable it from compiling with
--disable-graphics.

If you want to make it easy on yourself (and I don't know your compiling
experience), use the provided slackbuild from the source tree of slack 11,
and add the patch line

cd base source dir
patch -p1 <patchfile

I would also recommend adding a suffix to the revision # of the slackbuild
so you can upgrade it or remove it cleanly.

Here's the slackbuild from line 29 with suggested insertions. autoreconf
has to be run otherwise configure won't change anything!

cd grub-$VERSION
chown -R root:root .
find . -perm 777 -exec chmod 755 {} \;
find . -perm 664 -exec chmod 644 {} \;

# insert graphics patch here
patch -p1 < 001_all_grub-0.95.20040823-splash.patch
# need to recreate configure
autoreconf
CFLAGS="$SLKCFLAGS" \
../configure \
--prefix=/usr \
--infodir=/usr/info \
--mandir=/usr/man \
--enable-graphics

--
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com