April 21, 2015, 10:40:01 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
Author Topic: HOWTO use your own splashscreen for lilo  (Read 3475 times)
The Headacher
Louder than you
Global Moderator
Posts: 1553

I like the bass to go BOOM!

« on: April 27, 2007, 09:18:45 am »

This is a trick I learned on the old old forum, but the original post is inaccessible now. Blurymind asked for a HOWTO, and since I didn't feel like doing any of the things I had to do I decided to write this HOWTO instead. I'll assume you're using the Gimp.

There are multiple ways to do this, I can't guarantee this is the best way or will work for you. It worked fine for me though. I am not responsible for any damage resulting from you trying to follow this HOWTO.

1) Get yourself a nice picture.

2) convert it to 640x480
lilo only supports 640x480 bitmaps with 16 or 256 colors. So make yourself one with the gimp or something like that. To make sure it'll still look as pretty as it gets with 256 colors, set "image -> mode" to "Indexed".

choose "Use optimum palette" so it will create the optimum palette for that particular picture. Save the picture, it should be about 310 KB.

3) copy the picture to /boot/bitmap/

4) create an accompanying .dat file

here's where it gets interesting. Every image can use it's own .dat file.
It should have the same name as the bitmap, except that it's called .dat instead of .bmp.
In it, you define the look and placement of the menu and the countdown timer.

It should contain at least:

bmp-table=<x>,<y>,<ncol>,<nrow>,<xsep>,<spill>  (location and size info of the table)
bmp-colors=<fg>,<bg>,<sh>,<hfg>,<hbg>,<hsh>     (foreground, background,shadow and highlighted colors for table)
bmp-timer=<x>,<y>,<fg>,<bg>,<sh>                (location and colors of countdown timer)

The colors are the same colors as in the indexed picture. So, if you want to use black, you'd use the "color picker" and pick black. It'll show a screen with some info

Here you can see, that the color I picked is nr. 4. (and it's not pitchblack).

For more info about these options check out "man lilo.conf" and "man lilo".

Now, my file looks like this:
#timer is close to the top right of the bmp. no value for background=transparent

#table starts 20 pixels down and 20 right of the topleft
#only 1 column is used.


5) Make sure the new image and the accompanying .dat file are used
Now, we have to include this info INSIDE THE IMAGE! We can do this with
lilo -E filename.dat

Now, remove the old boot.bmp (it's a symlink to another bitmap), and link it to your new one:
rm /boot/bitmap/boot.bmp
ln -s filename.bmp /boot/bitmap/boot.bmp

now, update lilo:
lilo -v

reboot and check it out!

Most music on my soundcloud page was arranged in programs running on VL.
Posts: 1082

« Reply #1 on: April 27, 2007, 09:57:00 am »

thanks, this howto is very valuable.  Smiley

status: playing around with new tablet and learning to 3d :p
google page :
Posts: 29

« Reply #2 on: September 25, 2007, 06:32:19 am »

I suppose that this topic no longer works with whatever version of E17 that is out now - it says that Glibc 2.4 is required and from what I can gather Vector-Linux (STD GOLD) comes with 2.2.

Global Moderator
Posts: 1922

« Reply #3 on: September 25, 2007, 06:40:01 am »

I suppose that this topic no longer works with whatever version of E17 that is out now - it says that Glibc 2.4 is required and from what I can gather Vector-Linux (STD GOLD) comes with 2.2.
The HOWTO topic has nothing to do with E17 nor with Glibc - it is simply a method for lilo the boot loader, so it should work regardless of what window manager/desktop environment you are using.

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!