266 Part III . Choosing (Web site design and hosting) and Installing a

266 Part III . Choosing and Installing a Linux Distribution Microsoft operating systems require that you use the chainloader to boot them from GRUB because GRUB doesn t offer native support for Windows operating systems. If you make any changes to the /boot/grub/grub.conf file, you do not need to load those changes. GRUB automatically picks up those changes when you reboot your computer. If you are accustomed to using the LILO boot loader, this may confuse you at first, as LILO requires you to rerun the lilo command for the changes to take effect. Adding a New GRUB Boot Image You may have different boot images for kernels that include different features. Here is the procedure for modifying the grub.conf file: 1. Copy the new image from the directory in which it was created (such as /usr/src/kernels/2.6.13-1.1526_FC4-i386/arch/i386/boot/) to the /boot directory. Name the file something that reflects its contents, such as bz-13-1.1526_FC4-i386. For example: # cd /usr/src/kernels/13-1.1526_FC4-i386/arch/i386/boot/ # cp bzImage /boot/bz-13-1.1526_FC4-i386 2. Add several lines to the /boot/grub/grub.conf file so that the image can be started at boot time if it is selected. For example: title Fedora Linux (IPV6 build) root (hd0,4) kernel /bz-13-1.1526_FC4-i386 ro root=/dev/hda6 initrd /initrd-2.6.5.img 3. Reboot your computer. When the GRUB boot screen appears, move your cursor to the title representing the new kernel and press Enter. The advantage to this approach, as opposed to copying the new boot image over the old one, is that if the kernel fails to boot, you can always go back and restart the old kernel. When you feel confident that the new kernel is working properly, you can use it to replace the old kernel or perhaps just make the new kernel the default boot definition. Booting Your Computer with LILO LILO stands for LInux LOader. Like other boot loaders, LILO is a program that can stand outside the operating systems installed on the computer so you can choose which system to boot. It also lets you give special options that modify how the operating system is booted. On Slackware and other Linux systems, LILO is used instead of GRUB as the default boot loader. Note
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.

Leave a Reply