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.

closed as off-topic by Rinzwind, Rod Smith, Pilot6, Eric Carvalho, hg8 Nov 22 '15 at 10:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Rinzwind, Pilot6, hg8
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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 askubuntu.com/questions/429610/… – 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

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.


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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.