Skip to content

Instantly share code, notes, and snippets.

@henrytriplette
Last active March 22, 2024 17:22
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save henrytriplette/bc5ec3742896e36503b9a99d0940a4e4 to your computer and use it in GitHub Desktop.
Save henrytriplette/bc5ec3742896e36503b9a99d0940a4e4 to your computer and use it in GitHub Desktop.
Windows 10 - How to Remove GRUB from UEFI partition

Select the hard drive

From administrator cmd run these commands to identify and select the hard drive

diskpart
 
list disk
 
sel disk 

Assign it a drive letter

These commands are used to list the partitions, select the Boot EFI partition, then assign it a drive letter

list vol
 
sel vol 2
 
assign letter=D:
 
exit

Delete the GRUB folder

These commands are used to change into the Boot EFI folder and delete the GRUB folder

cd /d D:
 
dir
 
cd EFI
 
dir EFI
 
rmdir /s <LINUX DISTRO NAME HERE>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment