View previous topic :: View next topic |
Author |
Message |
Lnx_dork n00b
Joined: 10 Apr 2002 Posts: 28
|
Posted: Wed Apr 10, 2002 4:23 am Post subject: Grub splash image in gentoo |
|
|
The gentoo spalsh image for grub is pretty cool, but I'm wondering if anyone knows what is needed to make a custom splash. I figure you gotta use gimp, but what size and depth does the image have to be, etc,etc |
|
Back to top |
|
|
mkeadle n00b
Joined: 09 Apr 2002 Posts: 12 Location: Richmond, VA
|
Posted: Wed Apr 10, 2002 4:53 am Post subject: Grub splash image |
|
|
IIRC, the Grub splash image must be:
Size: 640x480
Colors: 15 or less
Format: gzipped xpm
The Gimp is capable of saving xpm images, so load up your favorite picture, resize it, and downsample to 15 colors. Save it as an xpm and then gzip the file. It should be named something like mysplash.xpm.gz.
Copy the file to /boot/grub (remember to mount /boot first, as Gentoo keeps it unmounted during regular use), then edit grub.conf (it may be called menu.lst) and add "splashimage=(hd0,0)/boot/grub/mysplash.xpm.gz" towards the top. If the line is allready there just edit it to point to your file.
That's it! Grub will use your new splashimage the next time you boot. |
|
Back to top |
|
|
zend Tux's lil' helper
Joined: 10 Apr 2002 Posts: 112 Location: Shanghai,China
|
Posted: Wed Apr 10, 2002 7:36 am Post subject: |
|
|
Is there some splash images can be downloaded? |
|
Back to top |
|
|
Guest
|
Posted: Fri Apr 12, 2002 2:58 am Post subject: |
|
|
Any graphic you can find, you can use it as a spashimage; I like stuff from digitalblasphemy.com myself. |
|
Back to top |
|
|
tkdack n00b
Joined: 12 Apr 2002 Posts: 44 Location: Sydney, Australia
|
Posted: Fri Apr 12, 2002 4:29 am Post subject: Alternate splash image |
|
|
I'll have an alternate splash image available @ http://gentoo.tkdack.com in the very near future (a couple of hours).
Feel free to download it and chuck it in /boot/grub then modify /boot/grub/menu.lst as appropriate.
(don't forget to mount /boot) _________________ Troy
http://linux.tkdack.com
Former Gentoo contributor TaD |
|
Back to top |
|
|
The Sentinel Tux's lil' helper
Joined: 10 Sep 2002 Posts: 76
|
Posted: Sun Oct 06, 2002 2:32 pm Post subject: |
|
|
There is an even easier way of creating splash screens than using thegimp....The convert command in the imagemagick package.
It allows you to convert file formats, resize and even output directly to an xpm file from the command line.
The .xpm output option does not appear to be in the man pages but giving it an output name with a .xpm extension willl do the trick:
convert -size 800x600 file.jpg -resize 640x480 -colors 15 -profile '*' file.xpm
i.e. The above command will:
- resize from the .jpg from 800x600 to 640x480
- reduce the number of colours to that suitable to grub
- remove profiles and other data not needed from the header
- convert to an .xpm file.
Check the man page for heaps more options.
(Of course you will have to zip it up with gzip once you have the .xpm file)
Hope this helps, peoples.
Cheers,
TS. _________________ who | grep -i blonde | talk; cd ~; wine; talk; touch; unzip; touch; strip; gasp; finger; mount; fsck; more; yes; gasp; umount; make clean; sleep
__________________________
#find / -user your -name base -exec "chown us $" |
|
Back to top |
|
|
|