Ubuntu+windows Repair Grub Boot after dual system reload windows

Source: Internet
Author: User

Enter Ubuntu's trial interface via Live CD.

Open terminal and enter the following command:

Sudo-i
Fdisk-l

(Find your Ubuntu installed on that partition)

You can also directly open the hard drive management to find out where Ubuntu is on your hardware.

such as my Ubuntu in the SDA10 partition.

Mount the root directory of the original system below:
Mount/dev/sda10/mnt

(10 replaced with your Ubuntu partition number)

Grub-install--ROOT-DIRECTORY=/MNT/DEV/SDA

(Note: There is a space bar behind/MNT)

If you see

installation finished. No Error reported.

Reboot Restart

It means it's done! Reboot to see if the familiar Grub boot screen is back again?

This is a good time to go to Ubuntu, then restore grub, or My computer will prompt for errors.

sudo update-grub


Ubuntu+windows Repair Grub Boot after dual system reload windows

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.