Fix the GRUB in Ubuntu10.04.

Source: Internet
Author: User
After Windows 7 is installed, grub of Ubuntu is deleted, and thus cannot enter Ubuntu. You can use the following methods to fix GRUB of version 10.04. first, use LiveCD to boot and try Ubuntu. Open the terminal input: sudofdisk-l to find the root partition and/boot partition of Ubuntu. I only have one partition, sda6. Root partition sudomount/dev/sda6/mnt (Change a6

After Windows 7 is installed, grub of Ubuntu is deleted, and thus cannot enter Ubuntu. You can use the following methods to fix GRUB of version 10.04.

First, use the Live CD pilot to try Ubuntu and open the terminal input:

Sudo fdisk-l finds the root partition and/boot partition of Ubuntu. I only have one partition, sda6.

Root Partition

Sudo mount/dev/sda6/mnt (replace a6 with your partition name)

If there is a/boot partition, enter:

Sudo mount/dev/sda6/mnt/boot

Finally, install grub,

Sudo grub-install-root-directory =/mnt // dev/sda

Restart.

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.