Linux boot program repair after windows is reinstalled

Source: Internet
Author: User
After windows is reinstalled, the linux boot program will be repaired-general Linux technology-Linux technology and application information. The following is a detailed description. It took a long time to get the two system boot programs done tonight. Now I share my experience and hope you will encounter such problems. My experience will be helpful.

Go to the privileged mode to modify the root partition of the boot program (grub). Note that after windows is reinstalled, the root partition of windows may be modified, so first determine the root partition of the two systems, then modify root (hd0, x). x is the root partition of your two systems.

After the instance is started, select ubuntu and press the key to modify it. For example, change (hd0, 2) to (hd0, 3), enter the kernel, add a single space at the end, and then press B to start it, in the privileged mode, run cd:/boot/grub/and enter vi menu. modify the lst and save it.
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.