Power to the People of Iran



Hello...
..and welcome to eeeGadgets! This blog is dedicated to everything associated with the wide (and interesting) field of mobile computing. The main focus is on presenting all the various hardware modifications I made to my eeePC, but I will also give short reviews of other interesting Mobile Internet Devices I come across. Further I want to share some tips and tricks I found out to be helpful in getting the most performance out of Ubuntu linux...
On the right side under "LABELS" you can navigate between various assorted article categories. Also, on the very bottom of the site you will find some useful weblinks, as well as a small broadband connection speed test (which can be very useful sometimes).
If you want to, you can subscribe to my RSS news feed too, to be always up to date about my latest articles - simply click on "subscribe now!" in the little box on the right side. Alternatively, you can subscribe to my simple email newsletter by clicking here.
For questions, feedback, suggestions, criticism and everything else, don't hesitate to contact me:
emailfuerdennis@web.de

....have fun reading!

If you like my site and want to support me , you can always donate to my personal "coffee funds" using the PayPal "donate" button further down on the right! :)
Dennis

Tuesday, March 17, 2009

HowTo: nice custom splash screen for your GRUB boot menu

Ever wondered if there's a way to change your GRUB bootmanager startup screen to something more appealing than those white and black ASCII lines? There is!!
Here's a complete walk-through description of the necessary steps (tested with Ubuntu linux 8.04):
First you need to edit your "/boot/grub/menu.lst" by opening a console window and typing

sudo gedit /boot/grub/menu.lst

then adding the line

splashimage=(hd0,6)/boot/grub/splashimages/grub-grey2.xpm.gz

somewhere at the beginning.

* (hd0,6) is the partition where your splash screen will be located, change to fit your needs! (grub has a strange enumberation scheme for partitions; its important you look at the file "menu.lst" for details on the data assigned to your ubuntu partition, SIMPLY locate the entry that says "Ubuntu 8.04" or whichever you have, right below it should read "root (hdX,Y)". Use this name for "splashimage=..")
* /boot/grub/splashimages/ is the folder where your splash images are located
* grub-grey2.xpm.gz is the file name of your splash image.

The splash image needs to be stored in a special way: you need to adjust the color depth to 14(!) colors (with gimp goto image->mode->indexed choose "generate optimum palette" and enter "14", then select an appropriate dithering algorithm which looks good on your picture) and change the resolution to 640x480, then save as xpm.
Now you just need to compress your splash image and copy it to the appropriate folder by typing

gzip filename-of-your-splashimage.xpm
sudo cp filename-of-your-splashimage.xpm.gz /boot/grub/splashimages

and voilà, the next boot will show up with a nice new look.

Here is the splash image I created for my grub (feel free to use it too if you like it,
just save as 14 color xpm with GIMP and compress like described above):



No comments:


Broadband Connection Test:

Just click on "Speedtest starten" to evaluate your actual downlink in MBit/sec (takes 10 seconds approx.)


(c) dsl-speed-messung.de - DSL Speed Test