9

Until a few days ago I had a fine working dual boot with Ubuntu 16.10 and Windows 10, using Grub2. Then Windows decided it needed to perform some updates. After the update, my system booted directly into Windows, skipping Grub. So in order to get back into my Ubuntu system, I created a Boot-Repair USB, and used the default repair option in there. After that, I got my Grub back, and can boot into Ubuntu again. However, now I cannot boot into Windows anymore. If I select the Windows option in Grub, I immediately get an error "cannot load image".

I also tried changing the boot order, to load the Windows Boot Loader first. Then I end up with an error "Failed to open \EFI\BOOT\grubx64.efi Not found"

Some things I tried, based on my googling:

  • run boot repair again -> Makes no difference
  • Disable secure boot in system setup -> Makes no difference
  • Use the Startup Repair option from Windows restore partition -> Gives an error that it cannot repair the startup
  • use rEfind bootloader -> Recognizes Windows, but cannot boot it either

Boot repair info located here: https://pastebin.com/0mPR4bwf

Anyone have any suggestions on what I can try next to be able to boot into Windows again?

Ulic
  • 91

4 Answers4

9

I see this question was asked a couple of years ago. Since it comes up fairly high in the search results, I'll put in a late answer anyway. I have a dual-boot Windows/Ubuntu machine that I've been using since Win10 came out. Every major Windows update kills the dual-boot.

When this happens, open a Windows "command prompt" as Administrator. Then enter the following command:

bcdedit /set "{bootmgr}" path \EFI\ubuntu\shimx64.efi

For me, this has reliably fixed the problem every time. Obviously, for other distros, the path may be different. This article provides some good background information.

1

My solution has been different. And, please, do not reinstall Windows or do some other drastic stuff of the same kind! If you have a dual boot, you are likely to have at least four partitions: NTFS System Reserved, Main Windows NTFS, Linux Swap, Linux Ext4 (I am using SysLinux, but if you prefer Grub and alike you may also have a Linux Boot Partition). Normally the Linux Ext4 (or Linux Boot) partition would have a boot flag set. All you need to do is set boot flag to the Windows System Reserved partition, install updates and then change the boot flag back (after windows has restarted and installed its updates fully). I always have a live CD/USB handy (Knoppix or antiX), so I can boot from it, open gparted and change partitions boot flag around at will...

Sashka
  • 11
0

Faced the same issue a few months back. On inspection Windows 10 actually deleted the Ubuntu partition from the drive.

I decided to move that Laptop exclusively to Ubuntu to prevent such issues in the future. Windows 10 updates are just out of control.

I could not get either OS running after this either. Seems like it's fatally broken. I pulled the drive for later analysis.

In your case you will probably have to reinstall Windows and restore a fresh backup.AKA Windows 10 broke it.

0

There's a bunch of threads on this. Another one worked.

F2 to get to bios. Disabled Smart Boot again Move Ubuntu above windows for priority. Save and exit.

Worked for me on Acer Apire 5 A515-43.

BretK
  • 1