Introduction to restoration methods for accidentally deleting Linux systems on Dual-boot computers

Source: Internet
Author: User
Article Title: describes how to restore a Linux system by mistake on a dual-boot computer. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories of Windows XP/Linux dual-start machines generally use grub as the boot program. If you accidentally delete Linux partitions in Windows, grub cannot start because the configuration file cannot be found. There are two solutions.

1. manually start Windows

After the system is started, go to the grub console and enter the following command:

Rootnoverify (hd0, 0)

Chainloader + 1

Boot

You can start Windows successfully. The parameter (hd0, 0) indicates that Windows is installed in the first partition of the first hard disk, that is, drive C. However, to use this method, you must enter the preceding command every time you restart the machine. Therefore, it can only be used as an emergency.

2. Use the Windows fault recovery console for repair

Insert the Windows XP installation disc, start from the disc, and then select the R key to start the fault recovery console. Select the Windows to log on to (generally 1) and enter the password. Run the following command:

Fixmbr

The system will prompt "the partition table may be damaged", ignore it, and answer Y. After a moment, the system will prompt that the repair is complete. Then restart the computer.
Related Article

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.