How to wipe USB drive from linux partitions in Windows
-
This how you remove linux partitions and other partitions in Windows, for instance on an USB drive.
Start a command prompt with Admin rights
For instance by typing
cmd
in the windows start menu and right click oncmd.exe
and select Run as Administrator.Start diskpart
Start Windows disk partition manager:
diskpart
Show all attached disks:
list disk
Select which disk you want to remove partitions from:
select disk 1
Remove one partition
To remove one partition first list what partitions you have:
list partition
Then select the partition you want to remove:
select partition 1
And then delete it:
delete partition
Note that it will delete the partition immediately.
Remove all partitions
To remove all partitions on the selected disk do:
clean all
Finish
To exit the program:
exit
Note: There is no need to save or write changes, as all operations are performed straight away.
-
I sometimes use MiniTool Partition Wizard for windows, every now and again i find diskpart can't do anything due to some sort of lock thingy. But Minitool seems to do the job
https://www.partitionwizard.com/ -
I find myself using Fedora's Media Writer, it's quick and simple.
But good guide @Pete-S