How to configure LILO file for Red Flag Linux system

  
                

LILO files can help coexist with multiple operating systems in Linux. With LILO files, we can choose which systems to enter. Therefore, in Linux with multiple operating systems installed, the configuration of LILO files is very important. How should we configure the LILO file? Now Xiaobian will tell you how to configure the LILO file.

Solution:

Red Flag Linux Desktop 2.4 provides a graphical boot configuration tools & ldquo; Klilo & rdquo ;, it can manage most of the properties LILO, and user-friendly operation Convenient, but if you know a little about LILO configuration, you can configure your machine more accurately using manual configuration.

Modifying LILO can be done by modifying the file “/etc/lilo.conf”, after the modification is complete, run the “lilo” command. In LILO, the typical boot method consists of two parts: one is started by “image=” to boot Linux. The other one starts with "other="” and is used to boot DOS or Windows.

The first place in LILO is the default boot system. If you want to modify the default boot system, you only need to swap the positions of the two parts.

When LILO boots the system, it usually displays some prompts on the screen. LILO keeps this information on the screen for a while so you can see it clearly.

Similarly, after modifying the file “/etc/lilo.conf”, you need to run the LILO command again to take effect.

In some cases, if the physical memory is larger than 64MB, LILO may not detect all of the memory, but instead use the first 64MB of memory in the default configuration. Use the following command to know how much memory Linux uses:

$cat /proc/meminfo

If this happens, you can fix this by modifying the /etc/lilo.conf file. . The specific method is to add a similar statement in front of the first “image=” statement in this file:

append=“mem=xxM“

The xx here is you The memory size of the computer (in Mbytes).

In order for the changes to "/etc/lilo.conf" to take effect, you should re-run the command lilo to check if the configuration has errors and then restart the machine. You can check if the configuration is in effect by using one of the following two commands.

$ cat /proc/meminfo

$ free

If you want to uninstall Linux, you can uninstall LILO by running fdisk /MBR under DOS or MS Windows. Then use fdisk to delete the Linux partition and reclaim the hard disk space.

The above is the Linux system LILO file configuration method, do not know how to configure the LILO file in your computer users, you can use the above method to configure.

Copyright © Windows knowledge All Rights Reserved