Chapter 7 . Installing Linux 269 (Michigan web site) After you

Chapter 7 . Installing Linux 269 After you change lilo.conf, you then must run the lilo command for the changes to take effect. You may have different boot images for kernels that include different features. Here is the procedure for modifying the lilo.conf file: 1. Copy the new image from the directory in which it was created (such as /usr/src/kernels/ 2.6.12-1.1398_FC4-i386/arch/i386/boot) to the /boot directory. Name the file something that reflects its contents, such as zImage-2.6.z13-1.1526_FC4-i386. 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.13-1.1526_FC4-i386 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 five 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. There is a lot of documentation 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. You can use the default=label option, where label is replaced by an image s label name, to indicate that a particular image be used as the default boot image. If that option is excluded, the first image listed in the /etc/lilo.conf file is used as the default. For example, to start the image labeled new by default, add the following line to lilo.conf: default=new Change the delay from 5 seconds to something greater if you want LILO to wait longer before starting the default image. This gives you more time to boot a different image. To change the value from 5 seconds (50) to 15 seconds (150), add the following line: delay=150 You can change the message that appears before the LILO prompt by adding that message to a file and changing the message line. For example, you could create a
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.

Leave a Reply