How to fix GRUB2BootLoader in Ubuntu

Source: Internet
Author: User
1) Start LiveDVD from Ubuntu installation CD 2) Find Ubuntu installation hard disk partition sudofdisk-l3) mount this partition sudomount/dev/sda1/mnt4) reload the GRUB2sudogrub-install-root-directory =/mnt/dev/sda5) from the hard drive (harddrive) to restart the computer, note not through LiveD

1) Start from the Live DVD of the Ubuntu installation CD

2) Find the hard disk partition installed in Ubuntu

Sudo fdisk-l

3) mount the partition

Sudo mount/dev/sda1/mnt

4) Reload GRUB2 on the device

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

5) restart the computer from the hard drive. Note that it is not restarted through Live DVD.

6) After the startup is successful, enter sudo update-grub in the command line.

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.