Ubuntu Boot Fix Issue

Source: Internet
Author: User

Ubuntu and Win7 dual system, accidentally in Ubuntu under the Win7 C drive directory to delete (hand cheap AH), and then Win7 did not, and later found a WinPE Startup disk repair Win7 boot results, Ubuntu system guidance is gone.

Thus, to install the system with the Ubuntu14.04 USB boot disk, in live CD mode for grub boot repair.

Boot select Ubuntu Live CD disk and click Try Ubuntu.

Step 1:ctrl + Alt + t open terminal, switch to root user, execute sudo-i.

Step 2: Execute fdisk-l Find/boot directory, about 200MB, a look will know, my is/dev/sda5.

Step 3: Mount/dev/sda5 to a directory in/mnt/, first, create/mnt/root directory as mkdir/mnt/root(for mounting), execute Mount command,mount/dev/sda5/mnt/ Root, mount the/DEV/SDA5 to the/mnt/root directory.

Step 4: Install Grub, execute grub-install--boot-directory=/mnt/root/dev/sda, command execution ends: No error reported, the installation is successful.

Step 5: Restart the computer and find that the Unbunt system boot has been repaired and grub boot has been restored.

Ubuntu Boot Fix Issue

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.