LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   lilo + boot_image (https://www.linuxquestions.org/questions/slackware-14/lilo-boot_image-34317/)

nautilus_1987 11-01-2002 07:39 AM

lilo + boot_image
 
Hello!
I am thinking here about setting some background to LILO boot menu...
And I need some help.
1. As I can understand I need bitmap image 640x480x16.
2. What line should I add to lil.conf
3. If something goes wrong wont it 'damage' MBR.....
thnx

jtshaw 11-01-2002 10:45 AM

I wouldn't worry about the whole "damaging" the MBR. That isn't so likely.

As for other two questions, Read the Friendly Manual (man lilo.conf), I know the information is in there.

DavidPhillips 11-01-2002 12:51 PM

here is an example


http://www.linuxquestions.org/questi...656#post153656

nautilus_1987 11-01-2002 02:05 PM

jtshaw: I have read it ......
David: I have read you post before asking that question... Can I set any other image? I just have to put:
install = /boot/boot-bmp.b
bitmap = /boot/boot.bmp
bmp-colors = 6,0,0;15,0,0
bmp-table = 59,5,1,19
bmp-timer = 68,27,6,0,0
in lilo.conf
Wanted to know what numbers mean?
Is something goes wrong will LILO boot anyway?

jtshaw 11-01-2002 02:23 PM

If you make the approriate changes to lilo.conf, run lilo, and get no errors then mostly likely you are ok. About the worst thing I could see happening is ugly color. However, it is probably a decent idea to save your old lilo.conf, and make a bootdisk (or make sure you have your slackware bootable install CD handy).

If lilo fails to boot it will spit out an error code you can look up to see why.

John

DavidPhillips 11-01-2002 02:24 PM

if something is wrong lilo will not install, so you will know before you reboot

if you see warning about table may spill off screen you can ignore it, you will not really know until you try it. as long as it's a resonable number. you will need to experiment with it until you get everything where you want it.



the colors and highlight of the text and the background around it are selected using the numbers with bmp-colors

the position of the images listing are controlled by bmp-table

the position of the countdown timer are controlled by bmp-timer (optional) if you have no timeout then you don't want a timer displayed.

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=' back-
ground. The list consists of 6 entries, 3 for nor-
mal text followed by 3 for highlighted text. The
order of each triple is: foreground color, back-
ground 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-posi-
tion of the upper left corner of the table in char-
acter 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.

nautilus_1987 11-01-2002 02:25 PM

What if I'll take a beatiful image...will LILO compress it by itself?

DavidPhillips 11-01-2002 02:30 PM

I know your wanting the color definition table, I have not seen it.
I just tested it until I got the color I wanted.
It would be nice to have it here.

nautilus_1987 11-01-2002 02:47 PM

Here is menu scheme:
menu-scheme=Gk:Kg:Gk:Gk
The info you gave is great...but difficult to understand

nautilus_1987 11-01-2002 02:48 PM

Maybe I should expirience with you option and image?

DavidPhillips 11-01-2002 03:49 PM

it depends on where you want the table

if you have only the bitmap entry it will be in the upper left corner, and there will be no timer



as far as using a picture, most beautiful pictures are not going to be near as beautiful at 16 colors.

DavidPhillips 11-01-2002 03:50 PM

you can get more colors at a lower resolution

nautilus_1987 11-01-2002 04:06 PM

And here is a question on such topic:
I have only Linux now......so I want it to boot without LILO. Offcourse I can make timeout=1 in LILO, but I want everything to be "normal". I mean Linux has to boot as default OS, so I don't have to press ENTER...
Hope you get it
???

jtshaw 11-01-2002 04:14 PM

Linux has to have a boot loader to load it. Lilo is to linux like ntloader is to Windows 2000/XP. If you don't want to have to hit enter give it a low timeout and remove the line that says prompt from your lilo.conf.

If you really have a dislike for lilo you can use other boot loaders such as grub, but you have to have some type of boot loader to boot the system, the Linux kernel has no ability to boot itself.

DavidPhillips 11-01-2002 04:27 PM

one of these days you may want to update your kernel or something.

It would be nice to be able to go back to the old one if it fails.

also the ability to boot some other device like a floppy is a good reason to have the menu.


All times are GMT -5. The time now is 03:12 AM.