1

I had windows 10 trial version in my pc. I removed it and installed ubuntu (It is not a dual-boot). I did not have any problem with it for almost 2 months. But today suddenly when I am turning my PC on, I am getting this: Wondows Recovery Error in Ubuntu:

enter image description here

I am able to start it by pressing ESC and overriding to run Ubuntu, but even after saving, it is not getting saved. If anyone else have faced this issue, or know how to fix it, kindly help. I am new to ubuntu.

user68186
  • 31,376
  • 12
  • 85
  • 112
  • It looks like when you installed Ubuntu, you did not recovery partition for Windows. Now for some reason the computer is booting from that partition. – user68186 Aug 27 '22 at 13:36
  • @user68186 So what is the solution for it. Thank you in advance – Minato Namikaze Aug 27 '22 at 15:48
  • I don't have a solution. See [this question and answer](https://askubuntu.com/questions/226061/how-to-install-the-boot-repair-tool-in-an-ubuntu-live-disc) and [this tutorial](https://linuxhint.com/ubuntu_boot_repair_tutorial/) and try the recommended repair as shown in the tutorial. If it does not work, add a link to the pastebin where the boot=repair log is saved. – user68186 Aug 27 '22 at 17:04

1 Answers1

0

I just ran into this while installing Ubuntu on one of those mini pc's that come with Windows installed.

Before doing any of the following, make sure you have good backups, because a mistake can render your system unbootable.

Open a terminal and become superuser with sudo su, entering your password when prompted.

Browse to /boot/efi. Now you are looking for a folder called Microsoft in one of the subfolders here. In mine it was called EFI so the folder is /boot/efi/EFI/Microsoft

Delete this folder, then update grub with an update-grub command.

Then reboot.

Organic Marble
  • 22,803
  • 12
  • 65
  • 118