Ubuntu 16.04 boot fix (boot Repair)----lianwang----Anzhuang windows Hou (dual system fix one)

Source: Internet
Author: User
Tags anzhuang


2016-01-26 20:54 12548 People read Comments (1) favorite reports Classification:======= Learning Experience ======= (at)

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Directory (?) [+]

These days is not my idle nothing to do, is really computer deliberately with me, accidentally, Windows can no longer open, and then, you all know is the re-installed system. But after the installation of the system, you will find that the original Ubuntu boot is missing, the boot directly into the Windows interface, weak a few days ago just put Ubuntu reload again, so do not want to install again, and then surf the internet to find some very useful way. By the way, before the installation of Ubuntu, Windows boot fix the problem also solved.

The first step:

Still need to go into the Ubuntu interface, but do not need to install (if installed directly, the previous files in Ubuntu can all be lost, so last resort, thousands

Wanbie to do so).

How to enter the Ubuntu interface, I believe that the Ubuntu installed you should all, here I only say one way:

Use the soft disk UltraISO ready to start the Ubuntu USB stick (preferably the same system as the original).

Step Two:

Go to the trial Ubuntu interface and connect to the network (as the next job requires a network).

Step Three:

Open terminal, terminal shortcut key is ctrl+alt+t, enter:

[Plain]View Plaincopy print?
    1. sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

Then always follow the instructions.

Fourth Step:

Enter the terminal again:

[Plain]View Plaincopy print?
    1. sudo apt-get install-y boot-repair && Boot-repair

Wait a minute, the following interface will appear:


This will appear, click Recommended Repair, after a few minutes to restart the line.

Fifth Step:

If some people accidentally clicked create a bootinfo summary, then your boot screen will come up with a lot of things you haven't seen before.

In that case, you can enter the name order: Cd/boot/grub

Then enter sudo gedit grub.cfg, open the Grub.cfg file, search to find windows, and then delete the following is the same as the original.

[Plain]View Plaincopy print?
    1. # # # Begin/etc/grub.d/25_custom # #
    2. Menuentry "Efi/efi/boot/bootx64.efi" {
    3. Search--fs-uuid--no-floppy--set=root d000ed6a-5303-40aa-a517-af50e807c0e9
    4. Chainloader (${root})/efi/efi/boot/bootx64.efi
    5. }
    6. Menuentry "Efi/efi/ubuntu/mokmanager.efi" {
    7. Search--fs-uuid--no-floppy--set=root d000ed6a-5303-40aa-a517-af50e807c0e9
    8. Chainloader (${root})/efi/efi/ubuntu/mokmanager.efi
    9. }
    10. Menuentry "Windows UEFI recovery Bootmgfw.efi" {
    11. Search--fs-uuid--no-floppy--set=root a603-846c
    12. Chainloader (${root})/efi/microsoft/boot/bootmgfw.efi
    13. }
    14. Menuentry "Windows Boot UEFI Recovery" {
    15. Search--fs-uuid--no-floppy--set=root a603-846c
    16. Chainloader (${root})/efi/boot/bkpbootx64.efi
    17. }
    18. Menuentry "Efi/ubuntu/mokmanager.efi sda2" {
    19. Search--fs-uuid--no-floppy--set=root a603-846c
    20. Chainloader (${root})/efi/ubuntu/mokmanager.efi
    21. }
    22. Menuentry "Windows UEFI recovery Lrsbootmgr.efi" {
    23. Search--fs-uuid--no-floppy--set=root 7607-5674
    24. Chainloader (${root})/efi/microsoft/boot/lrsbootmgr.efi
    25. }
    26. Menuentry "Windows Boot UEFI recovery Bkpbootx64.efi" {
    27. Search--fs-uuid--no-floppy--set=root 7607-5674
    28. Chainloader (${root})/efi/boot/bkpbootx64.efi
    29. }
    30. # # # End/etc/grub.d/25_custom # #

Ubuntu 16.04 boot fix (boot Repair)----lianwang----Anzhuang windows Hou (dual system fix one)

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.