View previous topic :: View next topic |
Author |
Message |
Chickpea l33t
Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
Posted: Thu Jun 06, 2002 12:26 am Post subject: Splash Image in Grub Menu |
|
|
this is a purely cosmetic question regarding the splash image that appears at the Grub menu. I wouldnt have know that there was something other than the black ang gray background before but this morning while i installed/compiled I noticed a very pretty background for the Grub menu.
How do you put your own background in?
Thanks
C |
|
Back to top |
|
|
thinker5555 Tux's lil' helper
Joined: 03 Jun 2002 Posts: 77 Location: Texas
|
Posted: Thu Jun 06, 2002 12:33 am Post subject: |
|
|
In your menu.lst (grub.conf) file, you'll notice a line that's something like "splashimage /boot/grub/splash.xpm.gz" You should be able to use your own image (640x480 and 14? colors, at least from what I read on the grub info page), and just save it as an xpm and gzip it, and point your splashimage line to it.
Good luck
Jeremy |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Thu Jun 06, 2002 8:15 pm Post subject: |
|
|
If it makes life any easier, I noticed that in gimp w/o installing anything extra I could just type in the file extension .xpm.gz when I saved it and gimp knows what to do. I know it's just one less step, but it's handy. |
|
Back to top |
|
|
tkdack n00b
Joined: 12 Apr 2002 Posts: 44 Location: Sydney, Australia
|
Posted: Fri Jun 07, 2002 12:41 am Post subject: |
|
|
< SHAMELESS PLUG >
http://gentoo.tkdack.com for gentoo graphics goodness.
Includes a couple of grub splash screens and a few frame buffer boot logo images ( + a kernel patch to select them at make *config time)
< / SHAMELESS PLUG > _________________ Troy
http://linux.tkdack.com
Former Gentoo contributor TaD |
|
Back to top |
|
|
Rylan n00b
Joined: 08 May 2002 Posts: 41
|
Posted: Mon Jun 10, 2002 9:16 pm Post subject: |
|
|
tkdack: I like those images alot, but I've never gotten the white "powered by" image to show up correctly. The black one and the standard grub splash image show up fine. |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Wed Jul 03, 2002 5:44 pm Post subject: |
|
|
Apologies for replying to a stale thread. Be gentle, it's my first post!
Rylan wrote: | tkdack: I like those images alot, but I've never gotten the white "powered by" image to show up correctly. The black one and the standard grub splash image show up fine. |
The background looks mostly pink when I use it. This is possibly due to the XPM claiming to have 17 palette entries.
If making your own XPM file for a splash image, don't do what I did and use the Win32 port of The GIMP to create it. It saves the file in MS-DOS format instead of Unix format and the GRUB splashimage code can't handle it. Serves me right, I suppose!
I've yet to confirm which two (of 16) palette entries the splashimage code replaces to display text foreground and background, but I'm guessing it's the last two. |
|
Back to top |
|
|
Russki Tux's lil' helper
Joined: 28 Apr 2002 Posts: 119 Location: Prague, Czech Republic
|
Posted: Wed Jul 03, 2002 8:20 pm Post subject: |
|
|
Hei,
try to use Gimp plugin.
Read more hier: https://forums.gentoo.org/viewtopic.php?t=6509
Greetings _________________ Facts are stupid things.
-Ronald Reagan
[img]http://www.danasoft.com/vipersig.jpg[/img] |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Thu Jul 04, 2002 10:49 am Post subject: |
|
|
I'm just emerging gimp at the moment (I ran into a missing gtkhtml dependency which the ebuild script didn't seem to know about!), but I'll give your suggestion a try next time I change my boot image. Thanks! |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Jul 05, 2002 4:42 am Post subject: |
|
|
tkdack wrote: | < SHAMELESS PLUG >
http://gentoo.tkdack.com for gentoo graphics goodness.
Includes a couple of grub splash screens and a few frame buffer boot logo images ( + a kernel patch to select them at make *config time)
< / SHAMELESS PLUG > |
That's such a cool site!! Thanks for sharing! _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Fri Jul 05, 2002 5:49 am Post subject: |
|
|
Tristam29 wrote: | tkdack wrote: | < SHAMELESS PLUG >
http://gentoo.tkdack.com for gentoo graphics goodness.
Includes a couple of grub splash screens and a few frame buffer boot logo images ( + a kernel patch to select them at make *config time)
< / SHAMELESS PLUG > |
That's such a cool site!! Thanks for sharing! |
I tried to replace the default with one of this site but no success:-( _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
fidler Apprentice
Joined: 03 Jul 2002 Posts: 162 Location: Utah
|
Posted: Tue Jul 09, 2002 9:34 pm Post subject: |
|
|
DArtagnan wrote: | Tristam29 wrote: | tkdack wrote: | < SHAMELESS PLUG >
http://gentoo.tkdack.com for gentoo graphics goodness.
Includes a couple of grub splash screens and a few frame buffer boot logo images ( + a kernel patch to select them at make *config time)
< / SHAMELESS PLUG > |
That's such a cool site!! Thanks for sharing! |
I tried to replace the default with one of this site but no success:-( |
Sorry.
This is what I did:
- Download Vanilla Source (emerge vanilla-sources)
- Download wolk3.4-patchset ( http://sourceforge.net/project/showfiles.php?group_id=49048&release_id=87122)
- remove previous kernel link (rm /usr/src/linux)
- create new kernel link (ln -s /usr/src/linux-2.4.18/ /usr/src/linux)
- Remove *debian* from the patchset (disables the silly debian logo.)
- Apply the patches by running './addpatches' from within the linux-2.4.18-wolk3.4-patchset.
- Change the Makefile to my own version with date EXTRAVERSION=-myname-2002.07.09
- Change to the appropriate directory (cd /usr/src/linux/include/linux)
- Download the appropriate headers (via lynx)
- gunzip the logo file
- remove the old linux_logo.h file
- copy the file you like to linux_logo.h
- export the appropriate compile flags (for me `export CFLAGS="-O3 -march=i686 -pipe";export CXXFLAGS="-O3 -march=i686 -pipe"
- Change to the appropriate directory(cd /usr/src/linux)
- make menuconfig (be sure to enable framebuffer vesa support. You may want to copy the .config file from your previous kernel compilation.)
- make dep bzImage modules modules_install
- Wait until it compiles . . . (Boring...)
- mount /boot (A step I readily forget to do... Gentoo setup directions have it unmounted by default as a security precaution I guess)
- cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
- Edit /boot/grub/menu.lst and append vga=788 to your kernel (or any other framebuffer mode you want. I have a laptop that runs in 800x600 so this is the best I can do... You can read some readme in the kernel to find out all the hex numbers. You will have to convert them to decimal).
- Reboot (ahhh... A pretty logo. Many steps to get a little picture....)
- Reemerge both the alsa and hotplug packages if you use them...
- Reboot again... (or load the appropriate modules)
- Reconfigure your CDR device if you have one (like me..)
It worked for me. Whether it works for you depends on if you have a vesa supported card, whether your monitor supports the given resolution, and wheather you have the appropriate items enabled in your kernel.
It could also depend on if you have a PPC or other arcitecture. I don't have access to these computers, so I dont know. |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Tue Jul 09, 2002 10:00 pm Post subject: |
|
|
ebichu wrote: | I'm just emerging gimp at the moment (I ran into a missing gtkhtml dependency which the ebuild script didn't seem to know about!) |
It that is so, please file a bug report, it can only make Gentoo better
Greets |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed Jul 10, 2002 5:53 am Post subject: |
|
|
The ebuild they have on the site is outdated... it's using an earlier prempt patch. I tried changing the version, but the patch doesn't want to go into the vanilla sources for some reason. *shrug*
fidler wrote: | DArtagnan wrote: | Tristam29 wrote: | tkdack wrote: | < SHAMELESS PLUG >
http://gentoo.tkdack.com for gentoo graphics goodness.
Includes a couple of grub splash screens and a few frame buffer boot logo images ( + a kernel patch to select them at make *config time)
< / SHAMELESS PLUG > |
That's such a cool site!! Thanks for sharing! |
I tried to replace the default with one of this site but no success:-( |
Sorry.
This is what I did:
- Download Vanilla Source (emerge vanilla-sources)
- Download wolk3.4-patchset ( http://sourceforge.net/project/showfiles.php?group_id=49048&release_id=87122)
- remove previous kernel link (rm /usr/src/linux)
- create new kernel link (ln -s /usr/src/linux-2.4.18/ /usr/src/linux)
- Remove *debian* from the patchset (disables the silly debian logo.)
- Apply the patches by running './addpatches' from within the linux-2.4.18-wolk3.4-patchset.
- Change the Makefile to my own version with date EXTRAVERSION=-myname-2002.07.09
- Change to the appropriate directory (cd /usr/src/linux/include/linux)
- Download the appropriate headers (via lynx)
- gunzip the logo file
- remove the old linux_logo.h file
- copy the file you like to linux_logo.h
- export the appropriate compile flags (for me `export CFLAGS="-O3 -march=i686 -pipe";export CXXFLAGS="-O3 -march=i686 -pipe"
- Change to the appropriate directory(cd /usr/src/linux)
- make menuconfig (be sure to enable framebuffer vesa support. You may want to copy the .config file from your previous kernel compilation.)
- make dep bzImage modules modules_install
- Wait until it compiles . . . (Boring...)
- mount /boot (A step I readily forget to do... Gentoo setup directions have it unmounted by default as a security precaution I guess)
- cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
- Edit /boot/grub/menu.lst and append vga=788 to your kernel (or any other framebuffer mode you want. I have a laptop that runs in 800x600 so this is the best I can do... You can read some readme in the kernel to find out all the hex numbers. You will have to convert them to decimal).
- Reboot (ahhh... A pretty logo. Many steps to get a little picture....)
- Reemerge both the alsa and hotplug packages if you use them...
- Reboot again... (or load the appropriate modules)
- Reconfigure your CDR device if you have one (like me..)
It worked for me. Whether it works for you depends on if you have a vesa supported card, whether your monitor supports the given resolution, and wheather you have the appropriate items enabled in your kernel.
It could also depend on if you have a PPC or other arcitecture. I don't have access to these computers, so I dont know. |
|
|
Back to top |
|
|
fidler Apprentice
Joined: 03 Jul 2002 Posts: 162 Location: Utah
|
Posted: Wed Jul 10, 2002 5:08 pm Post subject: |
|
|
arkane wrote: | The ebuild they have on the site is outdated... it's using an earlier prempt patch. I tried changing the version, but the patch doesn't want to go into the vanilla sources for some reason. *shrug*
|
OK. It shouldn't really matter. A easier way to do it is to just overwrite the appropriate file. As long as your kernel source is not 2.4.17 or below it should work. If it is try an emerge rsync and then download the vanilla or xfs-sources. After that just download the appropriate logo. (linux_logo.h) and overwriting the old logo, then compiling should work. Personally I choose the linux_logo-gentoo1.h and renamed it linux_logo.h (overwriting the previous logo). I had to re-emerge my sources because the patch-set wouldn't allow me to use my CDR... It worked for me. Make sure you have a kernel version of 2.4.18, or greater. (It *should* work on the gentoo sources as well... don't worry about the patch at gentoo.tkdack.com ; it's usless unless you have a kernel of 2.4.17)
The frame-buffer support is located in the console drivers section. You will need the experimental console druvers turned on for it to work. |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed Jul 10, 2002 6:58 pm Post subject: |
|
|
It matters when there is a 404 - File Not Found
I was just commenting on the ebuild from the site.
fidler wrote: | arkane wrote: | The ebuild they have on the site is outdated... it's using an earlier prempt patch. I tried changing the version, but the patch doesn't want to go into the vanilla sources for some reason. *shrug*
|
OK. It shouldn't really matter. A easier way to do it is to just overwrite the appropriate file. As long as your kernel source is not 2.4.17 or below it should work. If it is try an emerge rsync and then download the vanilla or xfs-sources. After that just download the appropriate logo. (linux_logo.h) and overwriting the old logo, then compiling should work. Personally I choose the linux_logo-gentoo1.h and renamed it linux_logo.h (overwriting the previous logo). I had to re-emerge my sources because the patch-set wouldn't allow me to use my CDR... It worked for me. Make sure you have a kernel version of 2.4.18, or greater. (It *should* work on the gentoo sources as well... don't worry about the patch at gentoo.tkdack.com ; it's usless unless you have a kernel of 2.4.17)
The frame-buffer support is located in the console drivers section. You will need the experimental console druvers turned on for it to work. |
|
|
Back to top |
|
|
|