Configure LILO's another approach here is a way to edit the lilo.conf file alternative.
Open a Terminal window, and then go to "/root" directory and enter linuxconf. This will take you to the Linux command window, you can configure the system. Scroll down until the Bootmode. In "bootmode", you should see the option to configure LILO. Select menu, and the second "ConfigureLILOLinuxconfigurations", and then click the "LILOLinuxconfigurations" tab. Click the "Add". Then you can add other Linux boot partition and the kernel file location. If you are not sure you want to add in every field, enter the information, please see before has lists of content. Take a look at the top of the lilo.conf file, you will notice that it belongs to the numbered linux2, namely Linux installation, the installation process during the installation of a second. Now, to make a dual-boot install LILO at/sda5 (for IDE drives is/hda5) partition of the first instance, the Linux immediately following the last line add the following content: image =/boot/vmlinuz = 2.2.14-5.0 label = "Linux1" initrd =/boot/initrd-2.2.14-5.0 root =/dev/sda5 so, edit the above code, the final file should look like this: boot =/dev/sda prompt timeout = 30 default = "linear Linux2" vga = normal read-only map =/boot/map install =/boot/boot.b image =/boot/vmlinuz = 2.2.14-5.0 Linux2 "label =" initrd =/boot/initrd-2.2.14-5.0 root =/dev/sda10 image =/boot/vmlinuz = 2.2.14-5.0 Linux1 "label =" initrd =/boot/initrd-2.2.14-5.0 root =/dev/sda5 make sure if the last line above the specified root path, like that-it is very important. Also make sure that you use during the installation of the label. Now save the file, and then enter the command prompt on the lilo. This rebuilds the file and save the updated configuration. Note: image/kernel for the installation are the same (/boot/vmlinuz = 2.2.14-5.0). Because we are doing is exactly the same dual-boot system, are from the same CD, installed on the same mapping file. If you are installing a different release, the files will be different.
No comments:
Post a Comment