Today, when turn on computer and chooise boot to Windows 10, I got this error: "relocation failed" enter image description here

enter image description here

The last time I use computer is Ubuntu 18.04 and I make some update with "apt update && apt dist-upgrade"

I also make update graphic driver, but I don't think it make problem: sudo add-apt-repository ppa:oibaf/graphics-drivers

I had tried some fix methods in Ubuntu but no luck:

  • Update grub: sudo update-grub2
  • Install and run boot-repair: sudo apt-get install -y boot-repair && boot-repair

The content of Windows boot entry:

insmod part_gpt
insmod fat
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  68FC-75FB
  search --no-floppy --fs-uuid --set=root 68FC-75FB
chainloader /EFI/Microsoft/Boot/bootmgfw.efi

Disk partations: enter image description here

Any help would be appreciated!


I had the same situation.

I my case in the bios was 2 entry with "ubuntu", and the order was:

uefi (ubuntu), uefi (windows), uefi (ubuntu)....

swapping "ubuntu" entries resolve the problem.

probably the "ubuntu" boot entries are not the same and have different options.


This is how I fix this problem, not solve the root cause but it work: In BIOS, these is have two special boot option as image below: enter image description here

  • Windows Boot Manager
  • Ubuntu

So I try the option Windows Boot Manager, computer boot to the same boot menu entries as post above, but this time booting to Windows is success.

I don't why but this option fix my problem, so I make it default in BIOS. enter image description here

  • 1
    This is wrong and may confuse other users. What you should have done is select Ubuntu as the primary bootloader, boot Ubuntu and then sudo update-grub (not the command you used, not Boot Repair) – GabrielaGarcia Sep 14 '18 at 15:03
  • Ok, I will try and update result later, thanks. – NothingCtrl Sep 14 '18 at 17:33
  • I tested with command sudo update-grub but no success – NothingCtrl Sep 16 '18 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.