Remove lfs-uefi.txt symlink
[linux_from_scratch_hints.git] / PREVIOUS_FORMAT / lilo.txt
blobddda380be1f882d79f07a7518950e569139b6072
1 TITLE:          Lilo beautified\r
2 LFS VERSION:    3.3\r
3 AUTHOR:         yoonsoo <yoonsoo@gmx.net>\r
4                 \r
5 \r
6 SYNOPSIS:\r
7         How to get a nice picture as boot prompt\r
8 \r
9 HINT:\r
10 Version 0.3\r
11 23/07/2002\r
13 Contents\r
14 --------\r
16     1. What do you need ?\r
17     2. Copying the bmp-file\r
18     3. preparing lilo.conf\r
19     4. Finish\r
20     5. Additional Remarks and Warnings\r
23 1. What do you need \r
24    ----------------\r
26      lilo-22.2 \r
28          or\r
30          lilo-22.3.2\r
31          nasm-0.98.34\r
33          (just install nasm the way you usually install packages) \r
35      640x480x16 bmp file\r
38 2. Copying BMP\r
39    -----------\r
41         You can use any BMP with the dimensions 640x480 and a colordepth \r
42         of 16Bit. If you decide to use one of the BMP's shipped with \r
43         the lilo-package, you can find them at lilo-src/sample/ \r
44         Just copy one of them to /boot (or somewhere else if \r
45         you want to). Imho logo64a.bmp looks good so I will refer \r
46         to this on.\r
48                  \r
49 3. Preparing lilo.conf\r
50    -------------------\r
52         There are two ways\r
54         a) set the symlink /boot/boot.b to /boot/boot-bmp.b\r
55         b) add install=boot/boot-bmp.b to lilo.conf\r
56        \r
57         I prefer to change the symlink for several reasons, so you \r
58         will find no install= in my lilo.conf below\r
60         add the following lines to lilo.conf\r
62 ------------------------------------------------------\r
63 bitmap = /boot/logo64a.bmp (or whatever bmp you took)\r
64 bmp-colors = 6,9,0,15,9,0\r
65 bmp-table = 59,5,1,18,\r
66 bmp-timer = 66,28,6,8,0\r
67 -----------------------------------------------------\r
69 bmp-colors: here is where you set the colors used in your menu \r
70  the first three entries belongs to the normal menu-text and the\r
71  last three entries specifies the colors of the highlighted\r
72  menu-text.\r
74 bmp-table: location of the menu-table. First two entries gives\r
75  the x, and y cooridiantes of the menu table. 59 means column 59, \r
76  you cal also use (eg) p400 to adress in pixels instead. The next\r
77  two entries are the numbers of the rows and columns in our menu table.\r
78  The last entry will specify the space between the columns if there are\r
79  more than one.  \r
81 bmp-timer: location of the timer-box for the countdown. The first two\r
82  entries are the coordinates and the next last values specifies  the colors  \r
84 alternatively, if you use a lilo version greater than 22.3 you could also do:\r
86 add the followjng lines to lilo.conf\r
88 --------------------------------------------------------------\r
89 bitmap = /boot/logo64a.bmp (or whatever bmp you took)\r
90 -------------------------------------------------------------\r
92 cat > /boot/logo64a.dat << "EOF"\r
93 bmp-colors = 6,9,0,15,9,0\r
94 bmp-table = 59,5,1,18,\r
95 bmp-timer = 66,28,6,8,0\r
96 EOF\r
98 lilo -E /boot/logo64a.dat\r
100 (see the manpage and the README's shipped with your lilo-Source for\r
101  further details)\r
104 4. Finish\r
105    ------\r
107         run lilo and reboot\r
108         Enjoy your new Boot-menu ;)\r
110 5. Additional Remarks & Warnings\r
111    -----------------------------\r
113         As it can be very risky to use lilo you should always have a\r
114     working boot disk to 'repair' your boot image if things went\r
115     wrong, and it will go wrong for sure ;)\r
116     Be sure, that your bmp-file exists and will not be erased\r
117     accidently. \r
118     And last not least : never forget to run lilo after you have\r
119     made some changes.\r
120         There are advantages and disadvantages which comes with \r
121         upgrading to lilo-22.3. Just check which is more important for \r
122         you.\r
123   \r
124 ------------------------------------------------------------------\r
125  If you have any ideas, suggestions or found a bug you can send a\r
126  mail to:\r
127  yoon soo <yoonsoo@gmx.net>\r
128 ------------------------------------------------------------------\r