Fri 29 Sep 2006
kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hda3 initrd /boot/initrd-2.4.7-10.img title DOS
Posted by sales under linuxwith Linux or even the most popular Linux boot loader. Red Hat, prior to 7.2, used LILO, and most other versions of Linux still do. The next section takes a close look at LILO configuration. Loading the Kernel with LILO Although GRUB is a newer tool, LILO, the Linux loader, is still a versatile tool that can manage multiple boot images; and can be installed on a floppy disk, in a hard disk partition, or as the master boot record. As with GRUB, this power and flexibility comes at the price of complexity, which is illustrated by the large number of LILO configuration options. LILO Configuration Options Most of the time, you don’t need to think about the complexity of LILO; the installation program will lead you through a simple LILO installation. It is for those times when the default installation doesn’t provide the service you want that you need to understand the intricacies of LILO. LILO is configured by the /etc/lilo.conf file. Listing 1.2 is the lilo.conf file created by a Linux installation program on a desktop client that is configured to dual-boot. Its function is very similar to the GRUB sample shown in Listing 1.1. Listing 1.2: A Sample lilo.conf File # global section boot=/dev/hda3 map=/boot/map install=/boot/boot.b prompt timeout=50 message=/boot/message default=linux # The Linux boot image image=/boot/vmlinuz-2.4.7-10 label=linux read-only root=/dev/hda3 # additional boot image other=/dev/hda1 optional label=dos With this configuration, the user has five seconds to select either dos to boot Microsoft Windows or linux to boot Linux. If the user does not make a selection, LILO boots Linux after the five seconds have expired. The following section examines each line in this file to see how LILO is configured. A Sample lilo.conf File A lilo.conf file starts with a global section that contains options that apply to the entire LILO process. Some of these entries relate to the installation of LILO by /sbin/lilo, and are only indirectly related to the boot process. Note The program /sbin/lilo is not the boot loader. The LILO boot loader is a simple loader stored in a boot sector. /sbin/lilo is the program that installs and updates the LILO boot 17
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision tomcat hosting services