Back to home
<<Back to Linux Notebook

Lilo parameters
When configuring LILO (the linux boot loader), you can pass parameters to define the resolution that the text gets displayed at. For instance, your /etc/lilo.conf may look like this:

lba32
boot=/dev/hda
map=/boot/map
compact
default=Linux_2.6.8
prompt
nowarn
timeout=50
install=bmp
bitmap=/boot/sbmonitor.bmp
bmp-table=50p,145p
bmp-timer=95p,300p,1
bmp-colors=4,0,0,1,0,0
image=/boot/vmlinuz-2.6.8-2-686
    label=Linux_2.6.8
    root=/dev/hda5
    initrd=/boot/initrd.img-2.6.8-2-686
    vga=791
    read-only
other=/dev/hda1
    label=WinXP

The vga=791 line forces the text to show up at a higher resolution and a particular color depth. I can never remember what all of the parameters mean, and I always have trouble finding it on the web, so I have copied them down in the table below:

Colors (depth)|640x480800x6001024x7681280x10241600x1200
--------------|----------------------------------------
256 ( 8 bit)|769771773775796
32,768 (15 bit)|784787790793797
65,536 (16 bit)|785788791794798
16.8M (24 bit)|786789792795799
(written 11/2/2005)










Linux Notebook on FluggartFluggartEmail