Because Windows does not boot Linux, and each WIN10 upgrade or restore overwrites the boot boot of Linux, which prevents access to Linux, the WIN10 update has been banned. These days win10 out a little trouble, so on the heart to restore the system, OK ~_~ this belch fart, Ubuntu into not go. Inside saved a lot of information, really do not want to reload, Google for a long time finally found a solution but there are some flaws, through unremitting efforts, finally solved the ^_^
The normal situation is this:
After the update, there is no interface, and will go directly to Windows
Steps to resolve:
1: Prepare a USB flash drive, plug in the computer-> Boot-> Select try Ubuntu without install
2 : Open terminal Terminal, get root permission, execute the following command:
$ sudo su
# sudo add-apt add-apt-repository ppa:yannubuntu/boot-repair
# Apt-get Update
# Apt-get Install Boot-repair
Search for Boot-repair in dash
Point Recommand Repair
It will be executed automatically after
Wait a few minutes, and then shut down after it's over, unplug the USB drive, boot
3: After booting, will appear similar to such an interface, found a lot more unnecessary options
Just delete some stuff and execute the following command:
Su # Get root permissions
Cp/boot/grub/grub.cfg/boot/grub/grub.cfg_backup #先备份一下
CAT/BOOT/GRUB/GRUB.CFG > TMP #将内容重定向到其他文件 for easy modification
gedit TMP #或者vim TMP
# Erase all of the following
# # # Begin/etc/grub.d/25_custom # #
Menuentry "Windows UEFI bootmgfw.efi" {
Search--fs-uuid--no-floppy--set=root 84f5-6727
Chainloader (${root})/efi/microsoft/boot/bootmgfw.efi
}
Menuentry "Windows Boot UEFI loader" {
Search--fs-uuid--no-floppy--set=root 84f5-6727
Chainloader (${root})/efi/boot/bkpbootx64.efi
}
...
Menuentry "Windows Boot UEFI recovery Bkpbootx64.efi" {
Search--fs-uuid--no-floppy--set=root 5686-d913
Chainloader (${root})/efi/boot/bkpbootx64.efi
}
# # # End/etc/grub.d/25_custom # #
It's just a matter of deleting the corresponding middle.
After deletion, again:
Cat tmp >/BOOT/GRUB/GRUB.CFG
Reboot
4: All the same
Win10+ubuntu Dual system repair Ubuntu boot boot