Prev | Current Page 569 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

Copy the new image from the directory in which it was created (such as /usr/src/
kernels/2.6.18-1.2798.fc6/arch/i386/boot) to the /boot directory. Name the
file something that reflects its contents, such as zImage-2.6.18-1.2798.fc6.
NOTE
277
Installing Linux 7
2. Add several lines to the /etc/lilo.conf file so that the image can be started at boot
time if it is selected. For example:
image=/boot/zImage-2.6.18-1.2798.fc6
label=new
3. Type the lilo -t command (as root user) to test that the changes were okay.
4. Type the lilo command (with no options) for the changes to be installed.
To boot from this new image, either select new from the graphical boot screen or type new and
press Enter at the LILO boot prompt. If 5 seconds is too quick, increase the timeout value (such
as 100 for 10 seconds).
Options that you can use in the /etc/lilo.conf file are divided into global options, per-image
options, and kernel options. A lot of documentation is available for LILO. For more details on any
of the options described here or for other options, you can see the lilo.conf manual page (type
man lilo.conf) or any of the documents in /usr/share/doc/lilo*/doc.
A few examples follow of global options that you can add to /etc/lilo.conf. Global options
apply to LILO as a whole, instead of just to a particular boot image.


Pages:
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581