Skip to content

Instantly share code, notes, and snippets.

@xeoncross
Created November 7, 2020 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xeoncross/8e4ddf5accf0b5d1c3549310cc84594e to your computer and use it in GitHub Desktop.
Save xeoncross/8e4ddf5accf0b5d1c3549310cc84594e to your computer and use it in GitHub Desktop.
Remove Ubuntu, Debian, Android, etc... from windows computer
# You can do this using cmd run as administrator from the desktop
# (or if using a Windows 10 S-Mode computer from the startup repair or a USB drive).
$ diskpart
> list vol
# Find the Fat32, 100MB/260MB EFI volume and select it:
> select volume 3
> assign letter=z
> exit
# Now browse to the folder and remove the os you want [ubuntu|android|etc...]
$ Z:
$ cd EFI
$ dir
$ rmdir /s OSNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment