After windows is reinstalled, find the linux System

Source: Internet
Author: User
After reinstalling windows, find the linux system-general Linux technology-Linux technology and application information. The following is a detailed description. Use linux's "system installation disk" to restore the damaged grub after windows is reinstalled.

1. Place the first disk to the optical drive, restart the machine, and use the optical drive to guide the system in BOIS.
2. After the installation interface is installed, press the [F5] key, that is, the linux rescue mode.
3. A series of keyboards and a few simple preparations, and then [continue. This process is simple.
4. Then such a character will appear
Sh #
5. Run the grub command and the prompt will appear.
Grub>
6. We can enter
Grub> root (hdX, Y)
Grub> setup (hd0)
If it succeeds, there will be a successful ......
Note that there is a space between root and (hdX, Y). Here, X is 0 if it is a disk, if the root partition of the linux system you have installed is on the second hard disk, X is 1, and Y is the root partition where the linux system is installed. Setup (hd0) is to write GRUB to the hard disk MBR.
7. Exit the rescue mode and restart the machine.

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.