For Linux beginners, we often hope that Windows and Linux operating systems can coexist. Here, we can use LILO for dual-boot. It can be seen that LILO plays an important role in the dual operating system. understanding some of its application skills will make your work more convenient! Next, let's discuss some of LILO's common usage skills.
I. reinstall LILO
Sometimes, for some reason, we have to reinstall the Windows system. In this case, Windows will overwrite the primary boot and overwrite LILO, causing Linux to fail to start. What should we do? Don't worry. You only need to rewrite your LILO to solve the problem.
1. Install a floppy disk or a CD from Linux.
2. When boot is started to the boot: prompt, type "vmlinuz root =/dev/hdxy" and press Enter. Hdxy indicates the primary boot area, for example, hda1.
3. Enter the/sbin directory after startup.
4. Run LILO #/sbin/lilo.
Ii. Back up LILO to a floppy disk
#/Sbin/lilo-B/dev/fd0
3. Change the default startup sequence
Windows and Linux are installed on one machine. The system starts Linux by default. How can I change the default startup mode to Windows? The solution is simple: edit the lilo. conf file, add "default = dos" to the row 4th of the file, and save the disk and exit.
4. Solve memory loss
If your machine has more than 64 MB memory, memory may be lost! If you use the Free command to query data, you can only get 64 MB. How can this problem be solved? The solution is to configure your lilo. conf file and add a line of "men = 96M" to lilo.
From: CCID