0

I have dual booted Windows 10 along with Ubuntu. It is an efi system.

Now, I want to remove Ubuntu. Firstly, I removed the partition then I tried to remove grub by using Windows installation disk. But it wasn't successful. I also tried to remove efi folder and wasn't successful at this also.

I still have a GRUB2 command line while booting.

Please suggest on removing this option.

David Foerster
  • 36,264
  • 56
  • 94
  • 147
  • 3
    This is a Windows related problem. Since you removed Ubuntu you will need to fix this from within Windows. In the old days it would be "fixmbr". How this is done in W10 is off topic ;) Besides that: dupe http://askubuntu.com/questions/429610/uninstall-grub-and-use-windows-bootloader – Rinzwind Nov 20 '15 at 12:58
  • I don't think this is off-topic for the reasons Rinzwind stated, since the problem was caused by Ubuntu. That said, it is a duplicate of his stated question. – Rod Smith Nov 20 '15 at 20:18

2 Answers2

2

Although we are way more interested in helping people that are using or want to use Ubuntu ...

Boot from Ubuntu installation media and select Try Ubuntu without installing.

When the desktop appears, open a terminal (Ctrl+Alt+T) and execute:

sudo mount /dev/sd* /mnt
sudo rm -rf /mnt/EFI/ubuntu

Note: * = EFI partition

You can identify the EFI partition with GParted, which is included in the installation media.

cl-netbox
  • 31,163
  • 7
  • 94
  • 131
0

You should boot windows recovery mode -> insert your windows pwd -> troubleshooting -> advanced options -> fix problems that prevent windows from booting properly (it's my translation, since I found a solution for your problem but it's in italian) here's the link

It's in italian but you figure it out what to do by watching the pictures. Have a try.