Recover fedora20 grub2 after Windows reload

Source: Internet
Author: User

A few days ago because the windows on the VMware software Uninstall, and can not be enough to reinstall, so the Windows reload, the problem, reinstall Windows will cause MBR rewrite, so grub2 menu also no, but very like to use GRUB2 so on the Internet search method, Now record

Using the U-disk to boot into rescue mode

1. Change the root directory: Chroot/mnt/sysimage

2, Repair GRUB2:GRUB2-INSTALL/DEV/SDA

GRUB2-INSTALL/DEV/SDA--recheck

3, Update boot entry: Grub2-mkconfig-o/boot/grub2/grub.cfg

4, after rebooting, I saw the familiar grub2 menu.

Recover fedora20 grub2 after Windows reload

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.