0

I boot my laptop today as usual and this error appeared:

relocation 0x0 is not implemented yet
Aborted. press any key to exit

Then it went into windows boot manager after pressing any key. I'm using Ubuntu 19.04 on Asus FX504GD, dual boot with Windows 10. I googled and found that this is a Grub error and seems to be related to rescue mode, but I found no solution. I couldn't think of any thing that I have done recently to cause this error. A detailed instruction (e.g. making required cammands explicit) will be greatly appreciated for a newbie like me. Thank you.

2 Answers2

0

I'm answering my own question (even though this is a bit stupid) since I just found a solution myself and I want to share it to help others.

I entered live system with a live usb and tried grub repair tool following this instruction. Then, I can boot into my system correctly even though a few new options appear in my grub menu. Still not sure what caused the problem. Please tell me if you have any idea.

Thanks to @Marmayogi for helping me.

0

I received this error on boot also. It was after I tried to shut dual booting ubuntu 20.04.03 LTS. It asked me to authorise the shutdown as there was still another users apps running (or something). Anyway - it messed up the boot and I got the relocation error.

I tried the sequence above but the repair tool would not apply recommended fixes because it detected that the tool was booted in BIOS mode but the boot sequence was UEFI, and I should be booted in the same mode to make the changes. my BIOS is 2012 and for some reason wouldn't boot the USB in UEFI.

my 20.04 install had created an EFI partition, and so I had to find a way to reinstall grub in the EFI partition.

I found the answer in this post re installing grub in the EFI partition:

grub-install --target=x86_64-efi /dev/sdb

I think this must force grub to install into the Efi mounted partition. on reboot it had forgotten about windows, and booted direct to ubuntu. I used the steps from this post on adding windows 10 to the grub menu, and it is all back to normal.