Rainers Home

Create your own lilo boot-screen

Lilo supports 640x480 images with 16 colors. So choose a picture, resize it and - in order to get the best results - use an optimized indexed palette of 16 colors. (if you use gimp and let it choose an optimized palette you can get very pretty results).

Copy the prepared image to /boot/ and add/change the following entries in your /etc/lilo.conf:

install=/boot/boot-bmp.b
bitmap=/boot/test2.bmp
bmp-table = <x>,<y>,<ncol>,<nrow>,<xspc>
bmp-colors = <fg>,<bg>,<sh>;<h-fg>,<h-bg,><h-sh>
bmp-timer = <tx>,<ty>;<t-fg>,<t-bg>,<t-sh>
  • bmp-colors=<fg>,<bg>,<sh>,<hfg>,<hbg>,<hsh>
    Specifies the decimal values of the colors to be used for the menu display on a ’bitmap=’ background. The list consists of 6 entries, 3 for normal text followed by 3 for highlighted text. The order of each triple is: foreground color, background color, shadow color. If background color is not specified, "transparent" is assumed. If shadow color is not specified, then "none" is assumed. The list entries are separated by commas, with no spaces.
  • bmp-table=<x>,<y>,<ncol>,<nrow>,<xsep>
    Specifies the location and layout of the menu table. <x>,<y> specify the starting x- and y-position of the upper left corner of the table in character coordinates: x in [1..80], y in [1..25]. <ncol> is the number of columns in the menu (1..3); and <nrow> is the number of rows in each column. If more than one column is specified, then <xsep> is the number of character columns between the leftmost characters in each column: (18..40). If pixel addressing is used, instead of character addressing, then any of <x>, <y>, or <xsep> may be specified with a ’p’ suffix on the decimal value.
  • bmp-timer=<x>,<y>,<fg>,<bg>,<sh>
    Optional specification of the ’timeout=’ countdown timer. <x>,<y> specifies the character (or pixel) coordinate of the location of the timer, as for ’bmp-table=’ above; and the color triple specifes the character color attributes, as for must be specified.

The parameters are also described in man lilo.conf. Finally run lilo and - have fun :)

SPIP | | Aktivitäten verfolgen RSS 2.0