![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Mar 2005
Location: Sweden
Beans: 69
|
Introduction
This guide will tell you how to get a nice background image while in Grub. The guide will first explain how to load an image into Grub and use it as a background and then, for those of you who are interested, how to create such an image in Gimp. Beware! Do only do this if you feel that you know what you're doing! It may mess up your boot loading if you are careless. (Thanks to jonny for pointing this out, together with backing up). That said, it shouldn't be too hard to follow this anyway. Table of Contents Example Image Configuring Grub
Links Example Image I have attached the splash image I'm using (and a thumbnail of it). We will be using this in the guide but you can use any image you want (assuming it is in the boot splash format, see Making your own splash image below). More images can be found in the Links section. Get the splash image here. Configuring Grub 1. Adding an image First, move the image to the grub folder (assuming the current dir is your home folder and this is were you downloaded the image). Code:
sudo mkdir /boot/grub/images sudo mv usplash.xpm.gz /boot/grub/images Backup! Code:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.old Code:
sudo gedit /boot/grub/menu.lst Code:
# Pretty colours #color cyan/blue white/blue Code:
## Splash image! splashimage (hdX,Y)/boot/grub/images/usplash.xpm.gz Code:
## ## End Default Options ## title Ubuntu, kernel 2.?.??-?-?? root (hdX,Y) Enter those in the line added before. Save the file. Important2! If you have a separate boot partition you have to remove the /boot in the path, this is because the root of the boot partition is mounted in /boot on your other partition. Resulting in this section instead: Code:
## Splash image! (On separate partition) splashimage (hdX,Y)/grub/images/usplash.xpm.gz Reboot and your splash image should be visible as the Grub background. 4. Troubleshooting If the image somehow does not load Grub will behave weird, although if you have a timeout (Ubuntu has by default) Grub should boot Ubuntu anyway. Then you should be able to correct the problem. More information and tips & tricks available here. Making your own splash image Here's how you make your own image, I will not tell you how to use the Gimp as there are plenty of other tutorials on that, use google. 1. New file There are some restrictions on the image, it must be 640x480 pixels large and only contain 14 colors. 2. Create the art Uh, use your artistic talents and produce wicked art! If you want a photo or something just past it in and resize it. If you want to do something Ubuntu specific this page might be of interest. If you want to use the Ubuntu logo in SVG format (vector graphics) there is a Gimp SVG plugin available in apt-get. 3. Reduce colors The next step is to reduce the amount of colors to 14. Go Image->Mode->Indexed... and select Generate optimum palette, set the maximum number of colors to 14 and chose a dithering algorithm that looks good. Normal gives the most coherent colored areas but the Floyd-Steinberg algorithms are more appropriate for images with many colors. 4. Save and compress Save the image as an XPM image. You might want to save a Gimp image also (XCF) in case you want to change it. Then compress it with gzip and copy it to the Grub folder: Code:
gzip image.xpm sudo cp image.xpm.gz /boot/grub/images You should now have a nice background in Grub, and perhaps even your own creation! ![]() Links Grub Splash Image Documentation Ubuntu Artwork Resources Additional Ubuntu Splash Screens Comments and suggestions welcome! EDIT: Backing up and precautions added. Thanks jonny. EDIT2: Separate boot partitions handled. Thakns todw1fd. Last edited by Eproxus; April 28th, 2005 at 04:39 PM.. Reason: Added some precautions. |
|
|
|
|
|
#2 |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Feb 2005
My beans are hidden!
|
Re: HOWTO: Grub splash images.
Nice. You could get some other nice grub images here
__________________
Sylvia: Look at what you've done to him! Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place. |
|
|
|
|
|
#3 |
|
Cloned
![]() |
Re: HOWTO: Grub splash images.
That first attachment link is a dead link, just FYI
__________________
This is where my nickname comes from! faq | search | wiki Twitter: @panickedthumb |
|
|
|
|
|
#4 | |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Feb 2005
My beans are hidden!
|
Re: HOWTO: Grub splash images.
Quote:
__________________
Sylvia: Look at what you've done to him! Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place. |
|
|
|
|
|
|
#5 | |
|
Cloned
![]() |
Re: HOWTO: Grub splash images.
Quote:
__________________
This is where my nickname comes from! faq | search | wiki Twitter: @panickedthumb |
|
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() |
Re: HOWTO: Grub splash images.
Thx alot, nice HowTo!
|
|
|
|
|
|
#7 |
|
Way Too Much Ubuntu
![]() Join Date: Dec 2004
Beans: 242
|
Re: HOWTO: Grub splash images.
Good how-to and very clear. A boot splash certainly adds a bit of a feel good factor when you start up your PC, and I have one myself. All punters should be aware, though, that you can render your system unbootable by being careless with /boot/grub/menu.lst
Things are always recoverable, as you can use your Hoary CD to boot and repair the damaged system. I suggest taking a backup Code:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.old Basically, though, if you don't feel comfortable rescuing a system with a broken boot sector, you're not ready for this how to.
__________________
Make poverty history |
|
|
|
|
|
#8 | |
|
Just Give Me the Beans!
![]() Join Date: Mar 2005
Location: Sweden
Beans: 69
|
Re: HOWTO: Grub splash images.
Quote:
|
|
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: Grub splash images.
Hmm, I only get stripes on the screen
__________________
Ubuntu - Linux for everthing begins, and yes, my mouse is using ubuntu too. |
|
|
|
|
|
#10 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Beans: 120
|
Re: HOWTO: Grub splash images.
nice
__________________
See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky ******* too. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|