Article Title: LILO configuration in red-flag Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In Linux, LILO is an important file used to realize coexistence of multiple operating systems. LILO is short for Linux Loader and is used for multiple choices during system loading and startup. If you have installed multiple operating systems, you can use LILO to select which operating system to enter during startup.
Red-Flag Linux Desktop 2.4 provides the graphical STARTUP configuration tool "Klilo", which can manage most of LILO's attributes and has friendly interfaces and convenient operations. However, if you are familiar with LILO configurations, you can use manual configuration to configure your machine more accurately.
You can modify LILO by modifying the file "/etc/lilo. conf". After the modification, run the "lilo" command. In LILO, a typical Boot Mode consists of two parts: one is started with "image =", which is used to guide Linux. The other one starts with "other =" and is used to guide DOS or Windows.
In LILO, the default boot system is ranked first. to modify the default boot system, you only need to switch the positions of the two parts.
LILO usually displays some prompts on the screen when guiding the system. LILO keeps the information on the screen for a while so that you can see it clearly.
Similarly, after modifying the file "/etc/lilo. conf", run the LILO command again to make it take effect.
In some cases, if the physical memory is greater than 64 MB, LILO may not detect all the memory, but uses the first 64 MB memory in the default configuration. Run the following command to know How much memory is used in Linux:
$ Cat/proc/meminfo
If the above problem occurs, you can solve this problem by modifying the/etc/lilo. conf file. The specific method is to add a similar statement before the first "image =" statement in this file:
Append = "mem = xxM"
Xx indicates the memory size of your computer (in MB ).
To make the changes to "/etc/lilo. conf" take effect, run the command lilo again to check whether the configuration is correct and then restart the machine. You can use one of the following two commands to check whether the configuration takes effect.
$ Cat/proc/meminfo
$ Free
To uninstall Linux, run fdisk/MBR in DOS or MS Windows to uninstall LILO. Then, use fdisk to delete Linux partitions and recycle hard disk space.