I use a Lenovo Yoga 300 something.. Can't remember which, but I recently installed Ubuntu to have as an alternate OS. After a while, I noticed a few limitations to it, and issues that the Internet couldn't fix. I googled how to get rid of it, and people said to delete the partitions. Great. I did that, but when I booted the laptop, Grub would come up. I found a solution to get rid of it, but Ubuntu is still a EFI device. I have tried using everything to remove it, including resetting my laptop. I did the command prompt thing, and it pops up in there, but everytime you try and delete it, it'll either say successful and come back or will say action failed. Now this wouldn't matter much if I was keeping the laptop, but I'm not. It's going to my mother, and she doesn't understand much about computers, nor the current need to spam F12 at start up to load boot devices. Ubuntu and Windows are both labelled with the same WDC WD5000LPCX-24C6HT0 legacy hard drive name. I have no idea how to fix it and don't want to do something so far fetched I break the laptop. Help? The Version of Ubuntu was 17.10 Desktop I've been trying bcedit and using the diskpart stuff Nothing has been working
Grub is installed in the EFI partition. you need to manually delete it.
Boot a LiveCD, and use gparted to temporarily remove the ESP flag from the EFI partition.
Open the EFI partition and delete the folder /EFI/ubuntu. Use gparted to set the ESP flag again and reboot.