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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| > 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| > 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 |
| |||
| 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 |
| |||
| > 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 |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|