0

I have deleted ubuntu partition from my laptop (dual booted with W10) then I used AOMEI partition assistant to Rebuild MBR but still I get option to boot into ubuntu on startup and when i click on it it shows me some error screen.

2 Answers2

1

Edit the boot options. Windows provides the command-line tool BCDEdit.exe, and there are a number of third party tools with GUI.

As has been mentioned, back up the EFI Sector Partition (ESP), at the least, or better, image the whole disk before making any change! An error in editing boot options could prevent booting.

Boot Loaders viewed in DiskGenius N.B. Just a view - I do not suggest using a powerful partition editor to change boot order.

The easiest way I've found to change boot options, though, was in Linux.

  • Mount the ESP under Linux (whether from Live USB drive or even an active HDD).
  • Browse to /boot/efi/EFI/
  • Rename the active boot folder.
  • Copy another folder to replace it, and change it to the old active folder's name.
  • Rename the actual loader inside the folder, changing the .efi file's name to that in the previous active loader.

In fact, on one machine, this was the only way I could get it to boot directly into Linux (the opposite of the issue you have).

boot/efi/EFI

-1

You have to delete grub (A boot loader [selector for the Os] for linux. You could delete as referred at this stack. But make sure that you have made a backup or even better making a backup and rolling a fresh install of Windows.