After installing Windows Grub Repair

Source: Internet
Author: User

After installing Windows, I found that Ubuntu couldn't get in, mainly because grub was killed by Windows.

Originally wanted to use the U-disk to repair, the results of the U disk is not recognized.

The Ubunt live disc is then launched via EASYBCD. Go to the Ubuntu installation screen to fix it

1. Open Terminal: ctrl+alt+t

2. Elevate permissions to root:

sudo su

3. Find out which partition the Ubuntu/linux is mounted on. If you don't, I can't do it ... General is/dev/sda*)

Fdisk-l

4. Assuming that your Linux is installed on the/DEV/SDA5, perform the following two steps.

MOUNT/DEV/SDA5/mntgrub-install--BOOT-DIRECTORY=/MNT/BOOT/DEV/SDA

5. Then reboot into the system just fine.

Also refer to: HTTP://HOWTOUBUNTU.ORG/HOW-TO-REPAIR-RESTORE-REINSTALL-GRUB-2-WITH-A-UBUNTU-LIVE-CD

After installing Windows Grub Repair

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.