Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Remove GRUB Permanently from a Computer

Yesterday I tried to replace Elementry OS with Linux Mint 18.3. it was a failed attempt to dual-boot Linux Mint 18.3 and Windows 10 on the different partition of a single hard drive on my lappy which is having GPT partition table with UEFI firmware. While I was checking all log files and doing research on the internet I found that it failed due to an existing Elementry OS’s Ubuntu GRUB folder, which exists in the Boot EFI folder.So I thought that If I could just delete or remove ubuntu folder from the Boot EFI folder, that the installation would complete. Thus I figured out how to delete or remove GRUB Permanently from Computer using Windows 10 Command Prompt or Command Prompt through bootable media.

How to Remove GRUB Permanently from a Computer

This Method can be used if:

  1. You have deleted the Linux installed Partition and want to remove GRUB from Boot Menu.
  2. There are three boot managers visible/ installed, and you want to get rid of them.
    • Windows boot manager
    • Ubuntu Boot Manager(Grub)
    • Ubuntu Boot Manager(Grub)
  3. There two boot managers are visible/ installed, and you want to get rid of them.
    • Windows boot manager
    • Ubuntu Boot Manager(Grub) or any other boot manager
  4. If You are getting the Following Error while installing or replacing Linux
    • The grub-efi-amd64-signed package failed to install into target

What is Grub?

GNU GRUB stands for GNU GRand Unified Bootloader, it was developed from a package called the Grand Unified Bootloader. GNU GRUB is a boot loader package. It is predominantly used for Unix-like systems. The GNU operating system uses GNU GRUB as its boot loader, as do most Linux distributions. GRUB is the reference implementation of the Free Software Foundation’s Multiboot Specification, which provides a user the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system’s partitions.

If You Want to Fix UEFI Boot in Windows 10/8/7 Visit Here

If you want to remove Linux from Dual Booted System visit Here

You May Also Like:- How to Setup Apple Homepod and is really it worth to you?

Which is the Best eBook Reader for Android, let’s find Out

So now after explaining all the things here is the method to delete or remove Grub Permanently from your Computer:

Method to Remove Grub Permanently from your dual boot Computer

  1. Open Command Prompt
    1. If you do have the Installation Media :
      • Insert the Media (DVD/USB) in your PC and restart.
      • Boot from the media.
      • Click on Repair Your Computer.
      • Select Troubleshoot.
      • Click on Advanced Options.
      • Click on  Command Prompt from the menu
    2. If you can Log into Windows 10,
      • Type and Serch cmd in the Search Bar which will be on the right side of the Start button on the Taskbar.
      • Now After Searching you will see Command Prompt in the search result then Right click on Command Prompt and select run as administrator
  2. In the Command prompt type diskpart and press Enter.Method to Remove Grub Permanently from your dual boot Computer
  3. Now, wait for few seconds until you see a new line starting with DISKPART>.
  4. Just After DISKPART> type list disk and press Enter.
  5. Now Select Your Disk( In my case, it was Disk 0 so I selected the disk 0) By using the Command sel disk 0 and press Enter.
  6. Now type list vol and press Enter.
  7. Now you will see a list of partition/Volume, Ltr, Label, Fs, Type, Size, Status, and other this list find a volume which has no ltr assigned and having the FAT32 file format.(In my case, it was volume 4.)
  8. Now Select the volume by typing the command sel vol X and press Enter.Replace X with the Number of the volume which has no ltr assigned and having the FAT32 file My Case, I typed sel vol 4 and pressed Enter.
  9. Now we will assign a letter for this volume by using the command assign letter=L  and Press Enter.( You can replace L with any other unused letter).
  10. Type exit and Press Enter.
  11. Now the main Part begins from Here: After the previous step you will see new line starting with C:\Windows\system32>Method to Remove Grub Permanently from your dual boot Computer
  12. Now Type cd /d L:  and press Enter.
  13. Now the new line will start with L:\> type dir after it.
  14. Above command will show you all the directory present in the volume L. Type cd EFI and press Enter.
  15. Now the new line will start with L:\EFI>, type dir here and press Enter.
  16. Above command will show you Directory of L:\EFI. there will be 5 or more directories. if you see Ubuntu listed in this directory. Type rmdir /S ubuntu and press Enter.  (Warning: Don’t try to play with Boot & Microsoft directory )
  17. Now you will be asked: ubuntu, Are you sure (Y/N)? Type Y and Press Enter.
  18. Now if you want to check that the ubuntu directory is deleted or not Type dir and Press Enter. this Command will show you all the directories of L:\EFI. there will be 4  directories without Ubuntu.
  19. Type exit and press Enter.
  20. Done, Restart Your PC/ Lappy.


  • if command dir not working for you, try ls instead of dir in Step 13,15 & 18.
  • Actually, You don’t need both commands because they are only to check the directories.
  • This procedure is not necessarily the best or only way to go about do this, so if you know of a better method, post a comment.

Commands I Used to delete or Remove Grub Permanently

  1. diskpart
  2. list disk
  3. sel disk 0
  4. list vol
  5. sel vol 4
  6. assign letter=L
  7. exit
  8. cd /d L:
  9. dir
  10. cd EFI
  11. dir
  12.  rmdir /S ubuntu
  13.  Y
  14.  dir
  15.  exit

## Command 1 to 7 used to select the disk and Volume, and assign an unique letter to the volume.

## Command 8 to 15 used to browse the EFI directory, Delete or Remove GRUB permanently, and re-check.

You May Also Like:- How to Block Microsoft to collect data on Windows 10

Convert Your Harddisk from MBR to GPT for Windows 10 installation


I Deleted or removed the GRUB permanently from my computer using the above method and now I am going to install or dual boot Linux Mint 18.3 on it with Windows 10.Hope it will work for me and for all of you who are facing these problems like multi-nonusable boot managers, or error like, The grub-efi-amd64-signed package failed to install into the target. Please feel free to share your views, suggestions, Advise and the problem with us using the comment section below.Please share with your friends using sharing buttons.And Keep Visiting.Thank You.

The post How to Remove GRUB Permanently from a Computer appeared first on Andro Root.

This post first appeared on Andro Root, please read the originial post: here

Share the post

How to Remove GRUB Permanently from a Computer


Subscribe to Andro Root

Get updates delivered right to your inbox!

Thank you for your subscription