sorry for late of the text but i lost one copy and it is rewritten
I. Preparations
The first thing that we need to have is the file with sources of the current version of lilo, i used the one from:
http://lilo.go.dyndns.org/
The direct link to the file that we need is:
http://home.san.rr.com/johninsd/pub/...-22.5.9.tar.gz
This file contains all that we'll need to make our screen boot more pretty, including some sample properly configured pictures
Now if you downloaded it just unpack it.
II. Installing new lilo
1. back up your current /etc/lilo.conf
Code:
cp /etc/lilo.conf /etc/lilo.conf.backup
[note] i do NOT advice to name it with /etc/lilo.conf.old, 'cause the setup script or other nasty thing may overwrite it and that'd be not nice if something will went wrong.
2. Compiling and installing the new lilo.
This step is really simple due to install script provided with lilo that makes much thing easier.
So enter to the directory where your lilo package is unpacked.
type
When the installer asks you to continue and to replace existing in /boot directory files, answer yes or you can't press [ENTER] key since it's default.
If you didn't compile the package before it will be compiled at this step, this does not take too much time [on my Celeron500], if you did it'll execute make but nothing particular will happen.
At the next step if the installer recognize /etc/lilo.conf exist (what should happen), it will ask you to make a new config file.
I'd advice to despite of the default answer which is "no", say "yes".
There may appear some changes since the syntax has slightly changed.
Then you will be asked some questions that you should know the answers.
[note] i did it in a bit different way, that's why i do not remember the questions but this solution seems to be safer.
After that the installer will execute /sbin/lilo to reload it's config file.
III. The config
Edit /etc/lilo.conf in your favored text editor.
You'll have to make it something like that:
Code:
# LILO configuration file
# generated by 'liloconfig' and modified by LUK32 ^-^
#
# Start LILO global section
boot="/dev/hda"
lba32
# the user-interface section
map = /boot/.map
install = bmp #this line should look like that, 'cause as i understood the
#install = /boot/*.b syntax is out dated, but it should still work
bitmap = /boot/ins64a.bmp #name of your background picture
#bmp-colors = 14,11,,15,9,0 #these lines can be commented if the proper
#bmp-table = 21,284p,2,7,175p,4 #"companion" file exist in the boot directory,
#bmp-timer = 73,29,12,8,0 #in this case it's /boot/ins64a.dat
# VESA framebuffer console @ 800x600x64k
vga = 788 #viedo mode lilo will be launched in, the bmp should be 640x480x16
#or 640x480x256 but it'll work in higher resolution
prompt
timeout = 200 #this is the time describing how long lilo will wait for action
#before booting to the default system, this is 20 seconds
delay = 30 # i forgot what was that used for ^.^ look at /sample/lilo.sample.conf
#for into a lilo.sample.conf for the explanation
#end of user-interface section
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# End LILO global section
# Linux bootable partition config begins
image="/boot/vmlinuz"
root="/dev/hda2"
label="Slack"
read-only
# Linux bootable partition config ends
The things that you should change are the values that are stored at my #User-interface# section the rest of file should not be changed unless you really know what are you doing or in case of changing: boot-program place or systems that you want to boot from lilo.
If any value referring to the user-interface does not exist just add it and if any it not appeared comment it out.
I was basing on /sample/lilo.sample.conf which is provided with the package so it should work.
After you make this, type
what will reload the config file.
[note] Lilo automatically parses the config file, so if you made any typos or sth like that it won't reload the file. So if every other boot option is set up properly it should boot.
If every thing went good it should print
Code:
Added name_of_your_system_label_from_lilo.conf *
III. The final
Just reboot, and i hope you'll enjoy your new graphical system-choose screen
IV. Post Scriptum
Here i'd like to explain what i think about the missing files and other errors.
So as i read in the man lilo, man lilo.conf and lilo.sample.conf form the lilo-22.5.9 package the syntax that shilo presented
Code:
install = boot-bmp.b
is deprecated in current version of lilo, what means it will work but it is advised NOT to use it.
So the lilo-22.5.9 may not need it in the /boot directory, but if it is there the old syntax will work like in shilo's case.
I'm sure that ./QuickInst makes some *.b files and one of them is named bitmap.b but mine /boot dir looks like this
Code:
drwxr-xr-x 2 root 4096 Jun 10 04:44 .
drwxr-xr-x 20 root 4096 Jun 10 04:20 ..
-rw------- 1 root 47104 Jun 10 04:44 .map
lrwxrwxrwx 1 root 21 Dec 13 18:09 System.map -> System.map-ide-2.4.22
-rw-r--r-- 1 root 609166 Sep 3 2003 System.map-ide-2.4.22
-rw-r--r-- 1 root 512 Jun 10 02:45 boot.0300
lrwxrwxrwx 1 root 17 Dec 13 18:09 config -> config-ide-2.4.22
-rw-r--r-- 1 root 38645 Sep 3 2003 config-ide-2.4.22
-rw-r--r-- 1 root 5032 Jun 10 04:28 diag1.img
-rw-r--r-- 1 root 19786 Jun 10 03:10 ins64a.bmp
-rwxr--r-- 1 luk32 138 Jun 10 03:10 ins64a.dat
lrwxrwxrwx 1 root 18 Dec 13 18:09 vmlinuz -> vmlinuz-ide-2.4.22
-rw-r--r-- 1 root 1226706 Sep 3 2003 vmlinuz-ide-2.4.22
so as you can i have no any *.b file too, and since, as i said, it's written in
there are 3 option that may be assigned to install:
text - just plain console [old ones ver of lilo (as i have read)]
menu - text menu [default now]
bmp - that's what we are aiming at
That'd explain the question of missing file, since it may appear but it's not needed.
I hope i helped to solve the problem.
I'd appreciate if some one checked it step-by-step, i can't do it now, 'coz i doubt installing old lilo and getting it upgraded is a good idea ^.^ .
I also hope that this text is more understandable than my previous post and i'd like to excuse everyone for my English u.u".
OK it's 0522 here and i worked over it mare than 2h, so if anything still is strange to understand just post it or contact me and i'll try to clear it. Now I am going to play a game ^.^
Greetz, LUK32 !!!