Chapter 7 (Web site templates) . Installing Linux 269 You can
Thursday, September 6th, 2007Chapter 7 . Installing Linux 269 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 /boot/boot.message file and add the following words to that file: Choose linux, new, or dos. To have that message appear before the boot prompt, add the following line to /etc/lilo.conf: message=/boot/boot.message All per-image options begin with either an image= line (indicating a Linux kernel) or other= (indicating some other kind of operating system, such as Windows XP). The per-image options apply to particular boot images rather than to all images (as global options do). Along with the image or other line is a label= line, which gives a name to that image. The name is what you would select at boot time to boot that image. Here are some of the options that you can add to each of those image definitions: . lock This enables automatic recording of boot command lines as the defaults for different boot options. . alias=name You can replace name with any name. That name becomes an alias for the image name defined in the label option. . password=password You can password-protect all images by adding a password option line and replacing password with your own password. The password would have to be entered to boot any of the images. . restricted This option is used with the password option. It indicates that a password should be used only if command-line options are given when trying to boot the image. For Linux kernel images, there are specific options that you can use. These options let you deal with hardware issues that can t be autodetected, or provide information such as how the root file system is mounted. Here are some of kernel image-specific options: . append Add a string of letters and numbers to this option that need to be passed to the kernel. In particular, these can be parameters that need to be passed to better define the hard disk when some aspect of that disk can t be autodetected. For example: append= hd=64,32,202 . ramdisk Add the size of the RAM disk that you want to use so as to override the size of the RAM disk built into the kernel. . read-only Indicates to mount the root file system read-only. It is typically remounted read/write after the disk is checked. . read-write Indicates to mount the root file system read/write.
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.