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.
Asked
Active
Viewed 7,002 times
2 Answers
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.
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).
DrMoishe Pippik
- 37,887
