LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-01-2002, 07:39 AM   #1
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Lightbulb 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
 
Old 11-01-2002, 10:45 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 11-01-2002, 12:51 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
here is an example


http://www.linuxquestions.org/questi...656#post153656
 
Old 11-01-2002, 02:05 PM   #4
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
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?
 
Old 11-01-2002, 02:23 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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
 
Old 11-01-2002, 02:24 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 11-01-2002, 02:25 PM   #7
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
What if I'll take a beatiful image...will LILO compress it by itself?
 
Old 11-01-2002, 02:30 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 11-01-2002, 02:47 PM   #9
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
Here is menu scheme:
menu-scheme=Gk:Kg:Gk:Gk
The info you gave is great...but difficult to understand
 
Old 11-01-2002, 02:48 PM   #10
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
Maybe I should expirience with you option and image?
 
Old 11-01-2002, 03:49 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 11-01-2002, 03:50 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you can get more colors at a lower resolution
 
Old 11-01-2002, 04:06 PM   #13
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
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
???
 
Old 11-01-2002, 04:14 PM   #14
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 11-01-2002, 04:27 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration