Want a nice LILO? :)
Some time ago, i came across this nice LILO splashscreen for Debian. Now i decided to share it with everyone. ![]()
So, here it comes:
AFAIR, these versions only differ in a color of the text of available boot options („b“ makes it black, and „w“ – white).
BONUS :mrgreen:
Let this be a small HOWTO for those Debian users who want to beautify their LILO splash. It may, or may not, apply to other distros.
WARNING! You, and only you are responsible for any consequences of following these steps. This instruction should not harm your computer, however, i would recommend to have an emergency boot floppy or a bootable CD to boot the machine from, in case problems occur.
Let’s say you have Debian sarge or sid. This HOWTO may or may not also apply to woody installations. If you try it with woody, and it works, drop me a line (don’t forget to tell what the version number of your lilo deb-package is). Let’s get back to the instruction now. Do you get a red table with available LILO options on boot? If you do, and you would prefer to see a nice graphic instead, read on.
Let’s go!
- rename our
/etc/lilo.confto/etc/lilo.conf.orig:
rq@bliss:~$ su
Password:
bliss:/home/rq# cd /etc/
bliss:/etc# mv lilo.conf lilo.conf.orig
- run liloconfig:
bliss:/etc# liloconfig
Often,liloconfigwill present you quite suitable defaults, so you may just press „Enter“ for each and every question. - now, open both files (
lilo.confandlilo.conf.orig) with an editor (you may do that in two different consoles, for example):
nano lilo.conf.orig
and in another terminal:
nano lilo.conf
The newlilo.confis vastly commented. The lines you will most probably want to change are at the bottom of the file. On my workstation, the tail oflilo.conflooks like this:
# These images were automagically added, you may need to edit something
image=/vmlinuz
label=Linux
# initrd=/initrd.img
read-only
image=/vmlinuz.old
label=LinuxOLD
# initrd=/initrd.img.old
read-only
optional
# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
other=/dev/hda1
label=WinXP
This configuration lets me boot any of two Linux kernels or Windos XP from another partition. At the tail of yourlilo.conf.orig, you’ll probably see something similar. Just copy and paste those lines from this file tolilo.conf. - save your new
lilo.confand runlilo:
bliss:/etc# lilo
Added Linux *
Skipping /vmlinuz.old
Added WinXP
Note the „Skipping“ line. I often uninstall any old kernel packages as soon as i find the new kernel running correctly, hence, there’s only onevmlinuzfile on my hard drive in most cases. This is whyoptionalline is useful. - reboot the computer and see the changes:
bliss:/etc# reboot
BTW: the „lilo“ deb-package automatically installs a few pictures that you can use for your LILO splash screen. However, you can always get better ones. Most of them should contain instructions on how to install them and what to add to lilo.conf.
P.S. This HOWTO has a Lithuanian version here.

