Windows Reload causes GRUB corruption

Source: Internet
Author: User

I a disk 7th partition installed Linux, the first partition first installed XP, after reloading for windows8.1, found that grub boot is gone, directly into the windows, the solution is as follows:

1, LiveCD into the system, open the shell

2. Enter Sh#fdisk-l to enter the disk list. Write down where your Linux and Windows are installed.

3, Input Sh#grub, enter the GRUB configuration interface

Grub>root (hdx,y) Here the X and Y representatives are numbers. That is, hd0,1 represents the first partition of the first hard disk. Fill in the content you just saw in Fdisk.

If correct, it will prompt to recognize this disk format for Linux

Grub>setup (HdX) The X and previous values here are consistent, and if successful, you will be prompted succeed

And then

Grub>quit

Sh#reboot

Repair complete.

Note that after rebooting, you may be prompted to find the system, and then edit root (hdx,y) in grub to find the appropriate disk.

Windows Reload causes GRUB corruption

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.