Solution to LILO overwrite after Windows is reinstalled

Source: Internet
Author: User

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


 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.