I first had Windows 10 installed with EFI partition, I later installed Ubuntu and created a separate EFI partition for its bootloader. Now I want to delete Ubuntu. Can I directly delete the EFI partition and the volume(in which Ubuntu was installed), this wouldn't affect the windows bootloader, right?
1 Answers
Okay I was able to do this in the following steps:- (I did create recovery drive just in case I needed it)
1. Using Bios I changed boot priority from "ubuntu->windows boot loader" to "windows boot loader->ubuntu" (Most Important)
2. I deleted the Ubuntu volume and swap partitions using disk management(in Windows).
3. I deleted the Ubuntu/GRUB EFI partition using "diskpart" in cmd. (using command delete partition override)
4. Mounted the original EFI partition using "diskpart", assigned a letter to it (lets say Z) the removed the ubuntu bootloader from it. Using following commands:-
z:
cd efi
rd ubuntu /s
5. At last I deleted ubuntu efi boot option using Hasleo EasyUEFI (GUI Software).( https://www.easyuefi.com/index-us.html ). Got help from here How can I remove bcdedit's GRUB completely?