fow99
10-16-2001, 05:21 AM
Hi all,
I am running RH7.1 and I kinda of dislike the graphical prompt of lilo. How can I change it back to text based?
PLBlaze
10-16-2001, 10:41 AM
There's a little work involved...so read on
In your /boot directory there's two files that are important and affect your lilo boot prompt
they are:
boot-menu.b
boot-text.b
boot.b -> boot-menu.b
From this example you will see that boot.b is a symlink to boot-menu.b file, which tells lilo to use the graphical prompt...to use the regular text (plain) prompt remove the symlink boot.b (do not remove the actoual file) then do this ln -s boot-text.b boot.b which should give you this:
boot.b -> boot-text.b
We're not done yet, no you will need to edit your /etc/lilo.conf and change the configuration to use text prompt, the entries are something like this (from my config):
message=/boot/tux # image file for graphical boot menu of lilo
#message = /boot/boot_message.txt # file containing text for use with lilo prompt
You will need to comment the line pointing to image file and uncomment the line pointing to text file (provided you have one)...contents of my boot_message.txt under slack are:
Welcome to the LILO Boot Loader!
Please enter the name of the partition you would like to boot
at the prompt below. The choices are:
Linux - Linux (Linux native partition)
WIN2000 - WIN200 (NTFS partition)
Of course you can use/modify or even write your own message that will appear on lilo prompt.
Ok, this is the final and important step to get it all working, issue /sbin/lilo or lilo -v to update the boot loader and reboot to test...if all goes well your lilo will now use text instead of image.Good luck and hope this helps.